Skip to content

Commit cb6c97d

Browse files
authored
Update build_test_database.py
1 parent 4988ffd commit cb6c97d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_test_database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
exit(1)
4848

4949
# get the codeql version
50-
res = subprocess.run(['/Users/mauro/GitHub/coding-standards/codeql-bundle-20220908/codeql', 'version', '--format', 'json'], stdout=subprocess.PIPE)
50+
res = subprocess.run(['codeql', 'version', '--format', 'json'], stdout=subprocess.PIPE)
5151
res_json = json.loads(res.stdout)
5252
CODEQL_VERSION=res_json["version"]
5353

@@ -67,4 +67,4 @@
6767
while os.path.exists(f"databases/{RULE}+{ITERATION}@{CODEQL_VERSION}"):
6868
ITERATION = ITERATION + 1
6969

70-
os.system(f"/Users/mauro/GitHub/coding-standards/codeql-bundle-20220908/codeql database create -l cpp -s {LANGUAGE}/{STANDARD}/test/rules/{RULE} --command=\"{BUILD_COMMAND}\" databases/{RULE}+{ITERATION}@{CODEQL_VERSION}")
70+
os.system(f"codeql database create -l cpp -s {LANGUAGE}/{STANDARD}/test/rules/{RULE} --command=\"{BUILD_COMMAND}\" databases/{RULE}+{ITERATION}@{CODEQL_VERSION}")

0 commit comments

Comments
 (0)