aboutsummaryrefslogtreecommitdiff
path: root/tests/second_merge_check
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-25 16:23:21 +0200
committerThomas White <taw@physics.org>2018-06-25 16:23:21 +0200
commitec5cf28c70480540d7dd4dd36ea27643e5fa53ed (patch)
treed652341e3c12cff99014de0e4650816c83e297cc /tests/second_merge_check
parent4ec097a154351883f5c3d0a8275c7d941da4d81a (diff)
Test the compiled binaries, not the installed ones
Diffstat (limited to 'tests/second_merge_check')
-rwxr-xr-xtests/second_merge_check4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/second_merge_check b/tests/second_merge_check
index 7a5c6134..3ef9fc50 100755
--- a/tests/second_merge_check
+++ b/tests/second_merge_check
@@ -1,5 +1,7 @@
#!/bin/sh
+PROCESS_HKL=$1
+
cat > second_merge_check.stream << EOF
CrystFEL stream format 2.1
Command line: indexamajig -i dummy.lst -o dummy.stream --kraken=prawn
@@ -41,7 +43,7 @@ Symmetry: -1
1 0 0 150.00 - 35.36 2
EOF
-process_hkl -y -1 -i second_merge_check.stream -o second_merge_check.hkl --no-polarisation
+$PROCESS_HKL -y -1 -i second_merge_check.stream -o second_merge_check.hkl --no-polarisation
if [ $? -ne 0 ]; then
exit 1;
fi