run_unittest: update for cross_file being a list

pull/5083/head
Ross Burton 6 years ago
parent 65e59c84a1
commit 1a2b5d3b53
  1. 4
      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)

Loading…
Cancel
Save