Skip to content

Commit 86847c2

Browse files
authored
Add an ability to skip in-test timestamps (#6250)
- adds an ability to skip in-test timestamps when CI provides its own time logging. The behavior is controlled by `enable_test_timestamps` variable Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
1 parent 494b750 commit 86847c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/test_template.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
set -o pipefail
4-
if [ -n "$gather_pip_packages" ]
4+
if [ -n "$gather_pip_packages" ] || [ -z "$enable_test_timestamps" ] # set enable_test_timestamps=1 to add per-line timestamps
55
then
66
# perl breaks the population of the outside variables from the inside of the sourced
77
# script. Turn this off to the gather_pip_packages process

0 commit comments

Comments
 (0)