File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -65,5 +65,4 @@ codeql_pack(
65
65
"//go/downgrades" ,
66
66
"//go/extractor:tokenizer" ,
67
67
],
68
- install_dest = "build/codeql-extractor-pack" ,
69
68
)
Original file line number Diff line number Diff line change 1
1
all : gen extractor
2
2
3
- EXTRACTOR_PACK_OUT = build/codeql- extractor-go
3
+ EXTRACTOR_PACK_OUT = extractor-pack
4
4
5
5
.PHONY : extractor gen clean autoformat check-formatting
6
6
@@ -45,9 +45,9 @@ ql/lib/go.dbscheme.stats: ql/lib/go.dbscheme build/stats/src.stamp extractor
45
45
codeql dataset measure -o $@ build/stats/database/db-go
46
46
47
47
test : all build/testdb/check-upgrade-path
48
- codeql test run -j0 ql/test --search-path build/codeql-extractor-go -- consistency-queries ql/test/consistency --compilation-cache=$(cache )
48
+ codeql test run -j0 ql/test --consistency-queries ql/test/consistency --compilation-cache=$(cache )
49
49
# use GOOS=linux because GOOS=darwin GOARCH=386 is no longer supported
50
- 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 --compilation-cache=$(cache)
50
+ env GOOS=linux GOARCH=386 codeql$(EXE) test run -j0 ql/test/query-tests/Security/CWE-681 --consistency-queries ql/test/consistency --compilation-cache=$(cache)
51
51
cd extractor; bazel test ...
52
52
bash extractor-smoke-test/test.sh || (echo "Extractor smoke test FAILED"; exit 1)
53
53
Original file line number Diff line number Diff line change 7
7
8
8
rm -rf testdb
9
9
10
- codeql database create --language=go testdb --search-path ../build/codeql-extractor-go
10
+ codeql database create --language=go testdb
11
11
codeql dataset check testdb/db-go
12
12
codeql query run ../ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/ControlFlowNode_getASuccessor.ql --database=testdb --output=notracing-out.bqrs --search-path ..
13
13
codeql bqrs decode notracing-out.bqrs --format=csv --output=notracing-out.csv
@@ -19,7 +19,7 @@ export CODEQL_EXTRACTOR_GO_BUILD_TRACING=on
19
19
20
20
rm -rf testdb
21
21
22
- codeql database create --language=go testdb --search-path ../build/codeql-extractor-go
22
+ codeql database create --language=go testdb
23
23
codeql dataset check testdb/db-go
24
24
codeql query run ../ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/ControlFlowNode_getASuccessor.ql --database=testdb --output=tracing-out.bqrs --search-path ..
25
25
codeql bqrs decode tracing-out.bqrs --format=csv --output=tracing-out.csv
You can’t perform that action at this time.
0 commit comments