File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3737config .required_features = []
3838config .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
4141match lit_config .params .get ("test-mode" , "full" ):
4242 case "run-only" :
4343 config .test_mode = "run-only"
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
5557possibly_dangerous_env_vars = [
You can’t perform that action at this time.
0 commit comments