aboutsummaryrefslogtreecommitdiff
path: root/tests/second_merge_check
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-22 15:04:33 +0100
committerThomas White <taw@physics.org>2018-03-22 15:32:02 +0100
commitbd5254b087bf38da5bd1aead7e32af508c0b12b4 (patch)
tree959a0d69bf020c1b8bdcde24e79540894c555fda /tests/second_merge_check
parent4a244ff26c30c5500615b81acacab9d2080fcd11 (diff)
Compile and run tests
Diffstat (limited to 'tests/second_merge_check')
-rwxr-xr-xtests/second_merge_check5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/second_merge_check b/tests/second_merge_check
index 1283cb0a..2636ccdb 100755
--- a/tests/second_merge_check
+++ b/tests/second_merge_check
@@ -41,7 +41,10 @@ Symmetry: -1
1 0 0 150.00 - 35.36 2
EOF
-src/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
ex -c '/End of reflections/
.,$d
x' second_merge_check.hkl