Skip to content

Commit 5fcb771

Browse files
committed
Address reviewer comments
1 parent 1f393c0 commit 5fcb771

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
config.required_features = []
3838
config.unsupported_features = []
3939

40-
# split-mode: Set if tests should run normally or with split build/run
40+
# test-mode: Set if tests should run normally or only build/run
4141
match lit_config.params.get("test-mode", "full"):
4242
case "run-only":
4343
config.test_mode = "run-only"
@@ -46,10 +46,12 @@
4646
config.test_mode = "build-only"
4747
config.sycl_devices = []
4848
arch_flag = ""
49-
case _:
49+
case "full":
5050
config.test_mode = "full"
5151
config.available_features.add("run-mode")
5252
config.available_features.add("build-and-run-mode")
53+
case _:
54+
lit_config.error("Invalid argument for test-mode")
5355

5456
# Cleanup environment variables which may affect tests
5557
possibly_dangerous_env_vars = [

0 commit comments

Comments
 (0)