summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-08-15 07:09:02 +0200
committerDave Wallace <dwallacelf@gmail.com>2017-08-17 14:44:05 +0000
commitf413bef1358e014c9a6cb75bd2ec3e1f351e64ff (patch)
treee029364853723c14452255b6e3966453172a02a6 /Makefile
parent6bf177ce815dc1454e8ac1b9d5bad08fde01d98d (diff)
make test: collect symlinks to failed tests
Compress files in temporary directories of failed tests and symlink the directories under /tmp/vpp-failed-unittests location - preparation for jenkins archivation. Automatically cleanup the directory at start of test run. The compression is performed only when environment variable COMPRESS_FAILED_TEST_LOGS is set to one of "yes", "y", "1". This is set in verify target, but left unset by default, so when invoking make test by hand, files won't be compressed. Change-Id: I84c8f1c6aa79aa9c0b753357022b1f195f17a283 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1cce928aa1a..c1a7cbb58a5 100644
--- a/Makefile
+++ b/Makefile
@@ -501,7 +501,7 @@ endif
$(call banner,"Building $(PKG) packages")
@make pkg-$(PKG)
ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-16.04)
- @make test
+ @make COMPRESS_FAILED_TEST_LOGS=yes test
endif