diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-10-13 12:43:28 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-10-13 17:50:34 +0200 |
commit | 3ea6d0620d34c14950c5b1a25af801efd7fde492 (patch) | |
tree | f44b74191b96b06e8bd4c3453b101cc6a2be545b /solenv | |
parent | 5c18404e5dcba62c7415746b0872ae0b22fb0de4 (diff) |
When the unit test fails, mention how to run just that exact test.
Idea that appeared during the Stephan's talk - thanks! :-)
Change-Id: Icc0b8454fde8a28f87236425d9df213959d5349c
Reviewed-on: https://gerrit.libreoffice.org/43368
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/gbuild/platform/unittest-failed-default.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/unittest-failed-default.sh b/solenv/gbuild/platform/unittest-failed-default.sh index 5e6b40f41265..2ec0c40fe92d 100755 --- a/solenv/gbuild/platform/unittest-failed-default.sh +++ b/solenv/gbuild/platform/unittest-failed-default.sh @@ -19,6 +19,7 @@ cat << EOF Error: a unit test failed, please do one of: + make $1Test_$2 CPPUNITTRACE="gdb --args" # for interactive debugging on Linux make $1Test_$2 VALGRIND=memcheck @@ -26,6 +27,10 @@ make $1Test_$2 VALGRIND=memcheck make $1Test_$2 DEBUGCPPUNIT=TRUE # for exception catching +You can limit the execution to just one particular test by: + +make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params... + EOF exit 1 |