628a3aa22f
Make logging work the same as it does for the vmcheck-STI work (at some point I'll try to unify the 3 parallel+script implementions we have). This fixes the problem that when the test times out, the filename won't have `.txt` and S3 won't have the right MIME type. Closes: #1479 Approved by: jlebon
11 lines
246 B
Bash
Executable File
11 lines
246 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
tf=$1
|
|
export TEST_ARTIFACTS=${LOGDIR}/${tf}
|
|
mkdir -p ${TEST_ARTIFACTS}
|
|
# Redirect our stdout/stderr, since we don't want what GNU parallel does
|
|
exec 1>${TEST_ARTIFACTS}/output.txt
|
|
exec 2>&1
|
|
exec $(dirname $0)/${tf}
|