Swift: fix last references to old integration test location

This commit is contained in:
Paolo Tranquilli
2024-03-25 11:49:19 +01:00
parent 5a771ad2cf
commit 0fa40af131
4 changed files with 3 additions and 4 deletions

View File

@@ -28,7 +28,6 @@ provide:
- "misc/suite-helpers/qlpack.yml" - "misc/suite-helpers/qlpack.yml"
- "ruby/extractor-pack/codeql-extractor.yml" - "ruby/extractor-pack/codeql-extractor.yml"
- "swift/extractor-pack/codeql-extractor.yml" - "swift/extractor-pack/codeql-extractor.yml"
- "swift/integration-tests/qlpack.yml"
- "ql/extractor-pack/codeql-extractor.yml" - "ql/extractor-pack/codeql-extractor.yml"
- ".github/codeql/extensions/**/codeql-pack.yml" - ".github/codeql/extensions/**/codeql-pack.yml"

View File

@@ -17,5 +17,5 @@ py_test(
"diagnostics.expected", "diagnostics.expected",
":assert-false", ":assert-false",
], ],
deps = ["//swift/integration-tests:integration_tests"], deps = ["//swift/ql/integration-tests:utils"],
) )

View File

@@ -1,5 +1,5 @@
py_library( py_library(
name = "integration_tests", name = "utils",
srcs = [ srcs = [
"create_database_utils.py", "create_database_utils.py",
"diagnostics_test_utils.py", "diagnostics_test_utils.py",

View File

@@ -1,5 +1,5 @@
import swift import swift
predicate relevant(Locatable loc) { predicate relevant(Locatable loc) {
loc.getLocation().getFile().getName().matches("%/swift/integration-tests/%/Sources/%") loc.getLocation().getFile().getName().matches("%/swift/ql/integration-tests/%/Sources/%")
} }