summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-03-18 16:18:09 +0000
committerRoss Burton <ross.burton@intel.com>2019-03-20 10:06:17 +0000
commit1a2b5d3b536c7d997adb43d47b7cc1249a36b3db (patch)
tree8ff985b249a743986c87074596b0deab577fa0ea
parent65e59c84a198062f21ab68fdae41b3e5de8d8480 (diff)
downloadmeson-1a2b5d3b536c7d997adb43d47b7cc1249a36b3db.tar.gz
run_unittest: update for cross_file being a list
-rwxr-xr-xrun_unittests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 0b2164fe6..24dda8b31 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -612,7 +612,7 @@ class InternalTests(unittest.TestCase):
configfile.flush()
configfile.close()
opts = get_fake_options()
- opts.cross_file = configfilename
+ opts.cross_file = (configfilename,)
env = get_fake_env(opts=opts)
detected_value = env.need_exe_wrapper()
os.unlink(configfilename)
@@ -627,7 +627,7 @@ class InternalTests(unittest.TestCase):
config.write(configfile)
configfile.close()
opts = get_fake_options()
- opts.cross_file = configfilename
+ opts.cross_file = (configfilename,)
env = get_fake_env(opts=opts)
forced_value = env.need_exe_wrapper()
os.unlink(configfilename)