File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ import os
2+
3+ import lit .formats
4+ from lit .TestingConfig import TestingConfig
5+
6+ # Imagine that, all your variables defined and with types!
7+ assert isinstance (config := eval ("config" ), TestingConfig )
8+
9+ config .name = "Lighthouse test suite"
10+ config .test_format = lit .formats .ShTest (True )
11+ config .test_source_root = os .path .dirname (__file__ )
12+ config .test_exec_root = os .path .dirname (__file__ ) + "/lit.out"
13+
14+ config .substitutions .append (("%PYTHON" , "uv run" ))
15+ if filecheck_path := os .environ .get ("FILECHECKPATH" ):
16+ config .substitutions .append (("FileCheck" , filecheck_path ))
Original file line number Diff line number Diff line change 1+ config.excludes = [" MLPModel" ]
Original file line number Diff line number Diff line change 1+ config.suffixes = {' .py' }
You can’t perform that action at this time.
0 commit comments