diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-11-29 17:36:58 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-12-03 10:06:11 +0530 |
commit | b2feae98339556eb053d3493bc925f3ceb30ec3b (patch) | |
tree | 400ef79859c37d3f4a48b8c5c855a8af6377288d /run_tests.py | |
parent | 45dbc0d30e2447faeb877469c54a47579e56837c (diff) | |
download | meson-b2feae98339556eb053d3493bc925f3ceb30ec3b.zip meson-b2feae98339556eb053d3493bc925f3ceb30ec3b.tar.gz meson-b2feae98339556eb053d3493bc925f3ceb30ec3b.tar.bz2 |
unit tests: Remove all instances of FakeEnvironment
We don't need to use that, and it causes build failures when code
actually uses the environment.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-x | run_tests.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/run_tests.py b/run_tests.py index b287a1a..1cc3983 100755 --- a/run_tests.py +++ b/run_tests.py @@ -155,15 +155,6 @@ def run_configure(meson_command, commandlist): return run_configure_external(meson_exe + commandlist) return run_configure_inprocess(meson_command, commandlist) -class FakeEnvironment(object): - def __init__(self): - self.cross_info = None - self.coredata = lambda: None - self.coredata.compilers = {} - - def is_cross_build(self): - return False - def print_system_info(): print(mlog.bold('System information.').get_text(mlog.colorize_console)) print('Architecture:', platform.architecture()) |