Skip to content

Commit d5cf972

Browse files
committed
Don't source library.sh in test generator
1 parent 6f54141 commit d5cf972

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test-reconciler-codegen.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ set -o pipefail
2020

2121
source $(dirname $0)/../vendor/knative.dev/hack/library.sh
2222

23+
# Make sure script doesn't have conflict with other tooling
24+
export GOFLAGS="-mod="
25+
2326
CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${REPO_ROOT_DIR}; ls -d -1 $(dirname $0)/../vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)}
2427
KNATIVE_CODEGEN_PKG=${KNATIVE_CODEGEN_PKG:-$(cd ${REPO_ROOT_DIR}; ls -d -1 $(dirname $0)/../vendor/knative.dev/pkg 2>/dev/null || echo ../pkg)}
2528

0 commit comments

Comments
 (0)