make test: archive failed test data with build logs. 03/8603/1
authorDave Wallace <dwallacelf@gmail.com>
Sat, 30 Sep 2017 05:53:26 +0000 (01:53 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Sat, 30 Sep 2017 05:53:26 +0000 (01:53 -0400)
commit25dc16715ee3fc0a600e2f58841173249bfae501
treeab42ceab8155402ab2ba88557caf9cdd81b3c055
parentd3e671e0dbb879d90f00bdee608ee0bb5f6357ae
make test: archive failed test data with build logs.

- Fix invocation of compress_failed.sh
- Fix compress_failed to copy compressed results
  files to $WORKSPACE/archives and return failure
  exit code.

Failed test case data will be copied to logs.fd.io
and found in the archives/<make test data dir>-FAILED
directory in the build log link in the
vpp-verify-master-ubuntu1604 jenkins job page.

For example:
https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-verify-master-ubuntu1604/7353/archives/

Change-Id: Ife9a0737115e69c0a8441e3bb0133af1528d909b
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
test/Makefile
test/scripts/compress_failed.sh