Skip to content

Commit

Permalink
Ensure the manual verbose is set for all unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cardil committed Nov 3, 2022
1 parent ff34f1e commit 85b3565
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion test/unit/scripts/fake-prow-job.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ if [[ -z "${PROW_JOB_ID:-}" ]]; then
export JOB_TYPE='presubmit'
export PULL_PULL_SHA='deadbeef1234567890'
fi
export KNATIVE_HACK_SCRIPT_MANUAL_VERBOSE=true
1 change: 1 addition & 0 deletions test/unit/sharedlib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ func (s shellScript) source(t TestingT, commands []string) string {
set -Eeuo pipefail
export TMPPATH='%s'
export PATH="${TMPPATH}:${PATH}"
export KNATIVE_HACK_SCRIPT_MANUAL_VERBOSE=true
`, t.TempDir())
bashShebang := "#!/usr/bin/env bash\n"
for _, sclet := range s.scriptlets {
Expand Down

0 comments on commit 85b3565

Please sign in to comment.