diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-10-28 11:20:25 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2021-10-28 11:20:25 -0700 |
commit | 24b8942a90433c302c754c3326b247e0580e457a (patch) | |
tree | dba5464c0427d6bdbf8046ec93d2468c91aaf1ca /tools/test-common.sh | |
parent | c6b68b3ee2a742fc0b5ffb78c19bc27fb9e92527 (diff) |
GitLab CI+tools: Fuzz test updates.
Make sure we install the llvm package, which includes llvm-symbolizer.
Add the current branch and CI job information to the error report.
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-x | tools/test-common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh index 37673ad42b..14c429d404 100755 --- a/tools/test-common.sh +++ b/tools/test-common.sh @@ -131,14 +131,14 @@ function ws_exit_error() { echo # Fill in build information + echo -e "Branch: $(git rev-parse --abbrev-ref HEAD)\n" > $TMP_DIR/${ERR_FILE}.header echo -e "Input file: $CF\n" > $TMP_DIR/${ERR_FILE}.header echo -e "Build host information:" >> $TMP_DIR/${ERR_FILE}.header uname -a >> $TMP_DIR/${ERR_FILE}.header lsb_release -a >> $TMP_DIR/${ERR_FILE}.header 2> /dev/null - if [ -n "$BUILDBOT_BUILDERNAME" ] ; then - echo -e "\nBuildbot information:" >> $TMP_DIR/${ERR_FILE}.header - env | grep "^BUILDBOT_" >> $TMP_DIR/${ERR_FILE}.header + if [ -n "$CI_JOB_NAME" ] ; then + echo -e "\nCI job $CI_JOB_NAME, ID $CI_JOB_ID: " >> $TMP_DIR/${ERR_FILE}.header fi echo -e "\nReturn value: " $RETVAL >> $TMP_DIR/${ERR_FILE}.header |