aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_3
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/partialator_merge_check_3
parent4ec097a154351883f5c3d0a8275c7d941da4d81a (diff)
Test the compiled binaries, not the installed ones
Diffstat (limited to 'tests/partialator_merge_check_3')
-rwxr-xr-xtests/partialator_merge_check_310
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/partialator_merge_check_3 b/tests/partialator_merge_check_3
index 25f95756..933422b0 100755
--- a/tests/partialator_merge_check_3
+++ b/tests/partialator_merge_check_3
@@ -1,5 +1,7 @@
#!/bin/sh
+PARTIALATOR=$1
+
cat > partialator_merge_check_3.stream << EOF
CrystFEL stream format 2.1
Command line: indexamajig -i dummy.lst -o dummy.stream --kraken=prawn
@@ -48,10 +50,10 @@ Symmetry: 4
20 0 0 75.00 - 0.00 2
EOF
-partialator -i partialator_merge_check_3.stream \
- -o partialator_merge_check_3.hkl \
- --model=unity --iterations=1 -y 4 --no-polarisation \
- --no-free --no-logs
+$PARTIALATOR -i partialator_merge_check_3.stream \
+ -o partialator_merge_check_3.hkl \
+ --model=unity --iterations=1 -y 4 --no-polarisation \
+ --no-free --no-logs
if [ $? -ne 0 ]; then
exit 1
fi