Skip to content

Commit 8bbae21

Browse files
aibaarscklin
authored andcommitted
Go: fix search-path for 'make test'
1 parent 93ca5e8 commit 8bbae21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ ql/lib/go.dbscheme.stats: ql/lib/go.dbscheme build/stats/src.stamp extractor
117117
codeql dataset measure -o $@ build/stats/database/db-go
118118

119119
test: all build/testdb/check-upgrade-path
120-
codeql test run ql/test --search-path . --consistency-queries ql/test/consistency
120+
codeql test run ql/test --search-path build/codeql-extractor-go --consistency-queries ql/test/consistency
121121
# use GOOS=linux because GOOS=darwin GOARCH=386 is no longer supported
122-
env GOOS=linux GOARCH=386 codeql$(EXE) test run ql/test/query-tests/Security/CWE-681 --search-path . --consistency-queries ql/test/consistency
122+
env GOOS=linux GOARCH=386 codeql$(EXE) test run ql/test/query-tests/Security/CWE-681 --search-path build/codeql-extractor-go --consistency-queries ql/test/consistency
123123
cd extractor; go test -mod=vendor ./... | grep -vF "[no test files]"
124124
bash extractor-smoke-test/test.sh || (echo "Extractor smoke test FAILED"; exit 1)
125125

0 commit comments

Comments
 (0)