summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjuraj.linkes <juraj.linkes@pantheon.tech>2018-12-03 14:08:07 +0100
committerOle Trøan <otroan@employees.org>2018-12-06 21:32:01 +0000
commitf18eb86c32732ca7397b66b421287f2326c1e2df (patch)
treeb696586db65bb7383bf7448cd4a8fc9eaac20008 /test
parent90a9fdfd3e7a3150aa30ef3ccf7aa3cc54301383 (diff)
Rename VPP_TEST_FAILED_DIR to FAILED_DIR
15999 renamed VPP_TEST_FAILED_DIR, but not in all files. Fix this in the one remaining file. Change-Id: I159cdc86bfd5dd33af74256830873a8d081f1a73 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'test')
-rwxr-xr-xtest/scripts/compress_failed.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/scripts/compress_failed.sh b/test/scripts/compress_failed.sh
index 9559e2acde5..ff17d244629 100755
--- a/test/scripts/compress_failed.sh
+++ b/test/scripts/compress_failed.sh
@@ -1,34 +1,34 @@
#!/bin/bash
-if [ "$(ls -A ${VPP_TEST_FAILED_DIR})" ]
+if [ "$(ls -A ${FAILED_DIR})" ]
then
if [ "${COMPRESS_FAILED_TEST_LOGS}" == "yes" ]
then
echo -n "Compressing files in temporary directories from failed test runs... "
- cd ${VPP_TEST_FAILED_DIR}
+ cd ${FAILED_DIR}
for d in *
do
cd ${d}
find . ! -path . -print0 | xargs -0 -n1 gzip
- cd ${VPP_TEST_FAILED_DIR}
+ cd ${FAILED_DIR}
done
echo "done."
if [ -n "$WORKSPACE" ]
then
echo "Copying failed test logs into build log archive directory ($WORKSPACE/archives)... "
- for failed_test in $(ls $VPP_TEST_FAILED_DIR)
+ for failed_test in $(ls $FAILED_DIR)
do
mkdir -p $WORKSPACE/archives/$failed_test
- cp -a $VPP_TEST_FAILED_DIR/$failed_test/* $WORKSPACE/archives/$failed_test
+ cp -a $FAILED_DIR/$failed_test/* $WORKSPACE/archives/$failed_test
done
echo "done."
fi
-
+
else
echo "Not compressing files in temporary directories from failed test runs."
fi
else
- echo "No symlinks to failed tests' temporary directories found in ${VPP_TEST_FAILED_DIR}."
+ echo "No symlinks to failed tests' temporary directories found in ${FAILED_DIR}."
fi
# This script gets run only if there was a 'make test' failure,