Skip to content

Commit dea9229

Browse files
authored
Merge pull request github#16034 from github/redsun82/swift-move-integration-tests-to-internal
Swift: prepare integration tests for internal running
2 parents 55226c4 + 9c9f4b9 commit dea9229

File tree

169 files changed

+27
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+27
-29
lines changed

codeql-workspace.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ provide:
2828
- "misc/suite-helpers/qlpack.yml"
2929
- "ruby/extractor-pack/codeql-extractor.yml"
3030
- "swift/extractor-pack/codeql-extractor.yml"
31-
- "swift/integration-tests/qlpack.yml"
3231
- "ql/extractor-pack/codeql-extractor.yml"
3332
- ".github/codeql/extensions/**/codeql-pack.yml"
3433

swift/.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8.14
1+
3.11

swift/actions/run-integration-tests/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
- name: Run integration tests
1919
shell: bash
2020
run: |
21-
python swift/integration-tests/runner.py --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
21+
python swift/ql/integration-tests/runner.py --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
2222
env:
2323
SEMMLE_DEBUG_TRACER: 10000
2424
- name: Upload test logs
@@ -27,5 +27,5 @@ runs:
2727
with:
2828
name: swift-integration-tests-logs-${{ runner.os }}
2929
path: |
30-
swift/integration-tests/**/db/log
30+
swift/ql/integration-tests/**/db/log
3131
retention-days: 1

swift/integration-tests/posix-only/deduplication/Relevant.qll

Lines changed: 0 additions & 5 deletions
This file was deleted.

swift/integration-tests/qlpack.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

swift/logging/tests/assertion-diagnostics/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ py_test(
1717
"diagnostics.expected",
1818
":assert-false",
1919
],
20-
deps = ["//swift/integration-tests:integration_tests"],
20+
deps = ["//swift/ql/integration-tests:utils"],
2121
)

swift/logging/tests/assertion-diagnostics/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
import subprocess
44
# We have to use importlib due to the '-' in the path
5-
diagnostics_test_utils = importlib.import_module("swift.integration-tests.diagnostics_test_utils")
5+
diagnostics_test_utils = importlib.import_module("swift.ql.integration-tests.diagnostics_test_utils")
66

77
test_dir = "swift/logging/tests/assertion-diagnostics"
88

swift/integration-tests/.gitignore renamed to swift/ql/integration-tests/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ xcuserdata/
66
DerivedData/
77
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
88
*.actual
9-
db
9+
test-db
1010
*.swiftmodule

swift/integration-tests/BUILD.bazel renamed to swift/ql/integration-tests/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
py_library(
2-
name = "integration_tests",
2+
name = "utils",
33
srcs = [
44
"create_database_utils.py",
55
"diagnostics_test_utils.py",

0 commit comments

Comments
 (0)