diff options
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r-- | testsuite/driver/testlib.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 42b979f1f0..d41fc9b88c 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -141,9 +141,6 @@ def no_lint( name, opts ): [opt for opt in opts.compiler_always_flags \ if opt not in ['-dcore-lint', '-dstg-lint', '-dcmm-lint']] -def reqlib( lib ): - return lambda name, opts, l=lib: _reqlib (name, opts, l ) - def stage1(name, opts): # See Note [Why is there no stage1 setup function?] framework_fail(name, 'stage1 setup function does not exist', @@ -206,15 +203,6 @@ def have_library(lib: str) -> bool: return got_it -def _reqlib( name, opts, lib ): - if not have_library(lib): - opts.expect = 'missing-lib' - opts.skip = True - else: - opts.extra_hc_opts = opts.extra_hc_opts + ' -package ' + lib + ' ' - for db in config.test_package_db: - opts.extra_hc_opts = opts.extra_hc_opts + ' -package-db=' + db + ' ' - def _req_hadrian_deps(name,opts,deps): opts.hadrian_deps.update(deps) |