From ec5cf28c70480540d7dd4dd36ea27643e5fa53ed Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 25 Jun 2018 16:23:21 +0200 Subject: Test the compiled binaries, not the installed ones --- tests/partialator_merge_check_2 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests/partialator_merge_check_2') diff --git a/tests/partialator_merge_check_2 b/tests/partialator_merge_check_2 index 2eabc300..a8ff3ddd 100755 --- a/tests/partialator_merge_check_2 +++ b/tests/partialator_merge_check_2 @@ -1,5 +1,7 @@ #!/bin/sh +PARTIALATOR=$1 + cat > partialator_merge_check_2.stream << EOF CrystFEL stream format 2.1 Command line: indexamajig -i dummy.lst -o dummy.stream --kraken=prawn @@ -46,10 +48,10 @@ Symmetry: 1 19 0 0 75.00 - 0.00 2 EOF -partialator -i partialator_merge_check_2.stream \ - -o partialator_merge_check_2.hkl \ - --model=unity --iterations=1 --no-polarisation \ - --no-free --no-logs +$PARTIALATOR -i partialator_merge_check_2.stream \ + -o partialator_merge_check_2.hkl \ + --model=unity --iterations=1 --no-polarisation \ + --no-free --no-logs if [ $? -ne 0 ]; then exit 1 fi -- cgit v1.2.3