Skip to content

Commit 6f71e3b

Browse files
authored
Merge pull request #19491 from owen-mc/go/add-test-flags
Go: Check more things while running tests
2 parents 78b9d8f + 463a711 commit 6f71e3b

File tree

4 files changed

+25
-138
lines changed

4 files changed

+25
-138
lines changed

go/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ql/lib/go.dbscheme.stats: ql/lib/go.dbscheme build/stats/src.stamp extractor
5454
codeql dataset measure -o $@ build/stats/database/db-go
5555

5656
test: all build/testdb/check-upgrade-path
57-
codeql test run -j0 ql/test --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) --dynamic-join-order-mode=$(rtjo)
57+
codeql test run -j0 ql/test --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) --dynamic-join-order-mode=$(rtjo) --check-databases --fail-on-trap-errors --check-undefined-labels --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition
5858
# use GOOS=linux because GOOS=darwin GOARCH=386 is no longer supported
5959
env GOOS=linux GOARCH=386 codeql$(EXE) test run -j0 ql/test/query-tests/Security/CWE-681 --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) --dynamic-join-order-mode=$(rtjo)
6060
cd extractor; $(BAZEL) test ...

0 commit comments

Comments
 (0)