Skip to content

Commit bf1f861

Browse files
authored
Merge pull request #1966 from StevenWong12/remove_syntax_classification_lit_test
Remove syntax classification `lit`-based tests
2 parents 2dea772 + da586f2 commit bf1f861

File tree

10 files changed

+0
-1340
lines changed

10 files changed

+0
-1340
lines changed

Package.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,6 @@ let package = Package(
269269

270270
// MARK: - Deprecated targets
271271

272-
// MARK: lit-test-helper
273-
// TODO: All the lit-based tests should be migrated to XCTest so we don't have a
274-
// dependency on FileCheck
275-
276-
.executableTarget(
277-
name: "lit-test-helper",
278-
dependencies: ["SwiftIDEUtils", "SwiftSyntax", "SwiftParser"]
279-
),
280-
281272
// MARK: PerformanceTest
282273
// TODO: Should be included in SwiftParserTest/SwiftSyntaxTest
283274

Sources/lit-test-helper/CommandLineArguments.swift

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

Sources/lit-test-helper/main.swift

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

build-script.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -405,15 +405,11 @@ def run_lit_tests(toolchain: str, build_dir: Optional[str], release: bool,
405405
examples_bin_path = find_examples_bin_path(
406406
toolchain=toolchain, build_dir=build_dir, release=release)
407407

408-
lit_test_helper_exec = os.path.join(product_bin_path, "lit-test-helper")
409-
410408
lit_call = ["python3", LIT_EXEC]
411409
lit_call.append(os.path.join(PACKAGE_DIR, "lit_tests"))
412410

413411
if filecheck_exec:
414412
lit_call.extend(["--param", "FILECHECK=" + filecheck_exec])
415-
if lit_test_helper_exec:
416-
lit_call.extend(["--param", "LIT_TEST_HELPER=" + lit_test_helper_exec])
417413
lit_call.extend(["--param", "EXAMPLES_BIN_PATH=" + examples_bin_path])
418414
lit_call.extend(["--param", "TOOLCHAIN=" + toolchain])
419415

@@ -537,7 +533,6 @@ def test_command(args: argparse.Namespace) -> None:
537533
disable_sandbox=args.disable_sandbox,
538534
)
539535

540-
builder.buildProduct("lit-test-helper")
541536
builder.buildExample("ExamplePlugin")
542537

543538
run_tests(

0 commit comments

Comments
 (0)