aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_1
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-17 15:31:45 +0200
committerThomas White <taw@physics.org>2018-05-17 15:39:22 +0200
commita9f48b6507b0326a34b84d7600f5eb791993eeb1 (patch)
treeb89b6e73477125336c35c6d7d9996bd8ebae7fd7 /tests/partialator_merge_check_1
parent87fd650abf11da75e7abd2ff90821cf7cb041b91 (diff)
parenta9f4c0ff4376267d90d6e8f9a0b6c012ec0588a4 (diff)
Merge branch 'tom/cmake'
Diffstat (limited to 'tests/partialator_merge_check_1')
-rwxr-xr-xtests/partialator_merge_check_15
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/partialator_merge_check_1 b/tests/partialator_merge_check_1
index 28dcf849..0123e391 100755
--- a/tests/partialator_merge_check_1
+++ b/tests/partialator_merge_check_1
@@ -42,10 +42,13 @@ Symmetry: 1
1 0 0 150.00 - 35.36 2
EOF
-src/partialator -i partialator_merge_check_1.stream \
+partialator -i partialator_merge_check_1.stream \
-o partialator_merge_check_1.hkl \
--model=unity --iterations=0 --no-scale --no-polarisation \
--no-logs
+if [ $? -ne 0 ]; then
+ exit 1
+fi
sed -n '/End of reflections/q;p' partialator_merge_check_1.hkl > temp.hkl
mv temp.hkl partialator_merge_check_1.hkl