mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
f07bfe0b1d
Instead of using a tee to the log, step the verbosity down - we already know by this point that it's working pretty well. Passing --output-file directly also lets us avoid a messy 'mv'. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31110>
19 lines
450 B
Bash
Executable File
19 lines
450 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# shellcheck disable=SC1091 # the path is created in build-kdl and
|
|
# here is check if exist
|
|
# shellcheck disable=SC2086 # we want the arguments to be expanded
|
|
|
|
if ! [ -f /ci-kdl/bin/activate ]; then
|
|
echo -e "ci-kdl not installed; not monitoring temperature"
|
|
exit 0
|
|
fi
|
|
|
|
KDL_ARGS="
|
|
--output-file=${RESULTS_DIR}/kdl.json
|
|
--log-level=WARNING
|
|
--num-samples=-1
|
|
"
|
|
|
|
source /ci-kdl/bin/activate
|
|
exec /ci-kdl/bin/ci-kdl ${KDL_ARGS}
|