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