diff options
| author | Zubin Duggal <zubin.duggal@gmail.com> | 2021-08-03 13:50:18 +0530 |
|---|---|---|
| committer | Zubin Duggal <zubin.duggal@gmail.com> | 2021-10-13 13:51:00 +0530 |
| commit | 4536e8ca27e2173af9bc72e2e5992be140ecb2d2 (patch) | |
| tree | 5cb1b99d618fca8dbc91277102a48036af9595b2 /testsuite/driver/testglobals.py | |
| parent | 58bd0cc1e6dc95328879fc53e9c58b7079d4c292 (diff) | |
| download | haskell-4536e8ca27e2173af9bc72e2e5992be140ecb2d2.tar.gz | |
hadrian, testsuite: Teach Hadrian to query the testsuite driver for dependencies
Issues #19072, #17728, #20176
Diffstat (limited to 'testsuite/driver/testglobals.py')
| -rw-r--r-- | testsuite/driver/testglobals.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py index adb2109923..e3df29c980 100644 --- a/testsuite/driver/testglobals.py +++ b/testsuite/driver/testglobals.py @@ -210,6 +210,13 @@ class TestConfig: # I have no idea what this does self.package_conf_cache_file = None # type: Optional[Path] + # The extra hadrian dependencies we need for all configured tests + self.hadrian_deps = set() # type: Set[str] + + # Are we only reporting hadrian dependencies? + self.only_report_hadrian_deps = False # type: bool + + def validate(self) -> None: """ Check the TestConfig for self-consistency """ def assert_implies(a: bool, b: bool): @@ -438,6 +445,9 @@ class TestOptions: # Should we copy the files of symlink the files for the test? self.copy_files = False + # The extra hadrian dependencies we need for this particular test + self.hadrian_deps = set() # type: Set[str] + # The default set of options global default_testopts default_testopts = TestOptions() |
