test-launcher: Pass on the exit code
This makes the test launcher script pass on the exit code from the conformance test as its own exit status. This makes using a particular test with git bisect run easier. https://bugzilla.gnome.org/show_bug.cgi?id=665190 Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
4c8966122f
commit
fcaca87fd4
@ -13,6 +13,7 @@ UNIT_TEST=`basename ${UNIT_TEST_PATH}`
|
|||||||
echo "Running: ./test-conformance -p ${UNIT_TEST_PATH} $@"
|
echo "Running: ./test-conformance -p ${UNIT_TEST_PATH} $@"
|
||||||
echo ""
|
echo ""
|
||||||
@abs_builddir@/test-conformance -p ${UNIT_TEST_PATH} "$@"
|
@abs_builddir@/test-conformance -p ${UNIT_TEST_PATH} "$@"
|
||||||
|
exit_val=$?
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "NOTE: For debugging purposes, you can run this single test as follows:"
|
echo "NOTE: For debugging purposes, you can run this single test as follows:"
|
||||||
@ -23,3 +24,5 @@ echo "or:"
|
|||||||
echo "$ env G_SLICE=always-malloc \\"
|
echo "$ env G_SLICE=always-malloc \\"
|
||||||
echo " libtool --mode=execute \\"
|
echo " libtool --mode=execute \\"
|
||||||
echo " valgrind ./test-conformance -p ${UNIT_TEST_PATH}"
|
echo " valgrind ./test-conformance -p ${UNIT_TEST_PATH}"
|
||||||
|
|
||||||
|
exit $exit_val
|
||||||
|
Loading…
Reference in New Issue
Block a user