aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-11-29 17:36:58 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-12-03 10:06:11 +0530
commitb2feae98339556eb053d3493bc925f3ceb30ec3b (patch)
tree400ef79859c37d3f4a48b8c5c855a8af6377288d /run_tests.py
parent45dbc0d30e2447faeb877469c54a47579e56837c (diff)
downloadmeson-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-xrun_tests.py9
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())