use more threads for codeql test

This commit is contained in:
erik-krogh 2022-11-25 16:23:23 +01:00
Родитель b6034b4935
Коммит d7763f236f
Не найден ключ, соответствующий данной подписи
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -116,9 +116,9 @@ ql/lib/go.dbscheme.stats: ql/lib/go.dbscheme build/stats/src.stamp extractor
codeql dataset measure -o $@ build/stats/database/db-go
test: all build/testdb/check-upgrade-path
codeql test run ql/test --search-path build/codeql-extractor-go --consistency-queries ql/test/consistency
codeql test run -j0 ql/test --search-path build/codeql-extractor-go --consistency-queries ql/test/consistency
# use GOOS=linux because GOOS=darwin GOARCH=386 is no longer supported
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
env GOOS=linux GOARCH=386 codeql$(EXE) test run -j0 ql/test/query-tests/Security/CWE-681 --search-path build/codeql-extractor-go --consistency-queries ql/test/consistency
cd extractor; go test -mod=vendor ./... | grep -vF "[no test files]"
bash extractor-smoke-test/test.sh || (echo "Extractor smoke test FAILED"; exit 1)