summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-08 02:06:29 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-07-08 02:06:29 -0400
commit29b4d29449e4f13528ba6ee15662f057dc1c46bc (patch)
treeed40e21fed7610c54d5d2908b57161a2f27e4a1b
parent27b5766a37a2f58daec85b913f342793f332d09f (diff)
test-job-done.sh: Fix log links
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--ci/_test-git-branch.sh2
-rwxr-xr-xci/test-job-done.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/ci/_test-git-branch.sh b/ci/_test-git-branch.sh
index b0b8dbb..e83768a 100644
--- a/ci/_test-git-branch.sh
+++ b/ci/_test-git-branch.sh
@@ -68,7 +68,7 @@ else
echo "TEST FAILED" > "ktest-out/out/$TEST_NAME"
fi
-find ktest-out/out -type f -name \*.log -print0|xargs -0 brotli --rm -9
+find ktest-out/out -type f -name \*log -print0|xargs -0 brotli --rm -9
OUTPUT=$JOBSERVER_OUTPUT_DIR/c/$COMMIT
ssh $JOBSERVER mkdir -p $OUTPUT
diff --git a/ci/test-job-done.sh b/ci/test-job-done.sh
index 39eeac4..f292512 100755
--- a/ci/test-job-done.sh
+++ b/ci/test-job-done.sh
@@ -50,7 +50,6 @@ git_commit_html()
for STATUSFILE in $(find $OUTPUT -name status); do
STATUS=$(<$STATUSFILE)
TESTNAME=$(basename $(dirname $STATUSFILE))
- TESTFILE=$(echo $TESTNAME|cut -d. -f1)
STATUSMSG=Unknown
TABLECLASS=table-secondary
@@ -82,7 +81,7 @@ git_commit_html()
echo "<td> $STATUSMSG </td>"
echo "<td> $DURATION </td>"
echo "<td> <a href=$TESTNAME/log.br> log </a> </td>"
- echo "<td> <a href=$TESTFILE/full_log.br> full log </a> </td>"
+ echo "<td> <a href=$TESTNAME/full_log.br> full log </a> </td>"
echo "<td> <a href=$TESTNAME> output directory </a> </td>"
echo "</tr>"
done