Reformat some testing rules for clarity

pull/1147/head
Jesse Vincent 3 years ago
parent 7cb1e225b7
commit 89678327a4
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -56,7 +56,9 @@ all: ${TESTS} run-all
run-all: ${TESTS} run-all: ${TESTS}
@for test in ${TESTS}; do \ @for test in ${TESTS}; do \
${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk -C $${test} testcase=$${test} run || ERROR=$$?; \ ${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk \
-C $${test} \
testcase=$${test} run || ERROR=$$?; \
done; \ done; \
if [ -n $${ERROR} ]; then exit $${ERROR}; fi if [ -n $${ERROR} ]; then exit $${ERROR}; fi
@ -67,7 +69,9 @@ cmake-clean:
clean: cmake-clean clean: cmake-clean
@for test in ${TESTS}; do \ @for test in ${TESTS}; do \
${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk -C $${test} testcase=$${test} clean; \ ${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk \
-C $${test} \
testcase=$${test} clean; \
done done
rm -rf "${build_dir}"/* rm -rf "${build_dir}"/*

Loading…
Cancel
Save