Permit tests to specify the refdata filename
[alexxy/gromacs.git] / src / testutils / copy_xsl.sh
1 #!/bin/sh
2
3 # Change to root of the source tree, no matter from where the script is
4 # invoked.
5 cd `dirname $0`
6 cd ../../
7
8 for destdir in analysisdata selection trajectoryanalysis ; do
9     cp -f src/testutils/common-referencedata.xsl \
10           src/gromacs/$destdir/tests/refdata/
11 done
12
13 for destdir in trajectoryanalysis ; do
14     cp -f src/gromacs/analysisdata/tests/refdata/analysisdata-referencedata.xsl \
15           src/gromacs/$destdir/tests/refdata/
16 done