aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-07-31 14:10:30 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-12 01:21:32 +0300
commitd8335fb03273d46262b40c0dd53d94ef7e275814 (patch)
treef386635df7e8e5bbe68d0834aee2618508790b25 /run_tests.py
parentb21fd95f737ab96f57c45e15a1d89d5c483daec8 (diff)
downloadmeson-d8335fb03273d46262b40c0dd53d94ef7e275814.zip
meson-d8335fb03273d46262b40c0dd53d94ef7e275814.tar.gz
meson-d8335fb03273d46262b40c0dd53d94ef7e275814.tar.bz2
Put native file before cross file in options list
I think this makes more sense by matching how build comes before host. Native builds are also more common than cross builds.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 6a42681..7e95643 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -71,11 +71,11 @@ class FakeCompilerOptions:
def get_fake_options(prefix=''):
import argparse
opts = argparse.Namespace()
+ opts.native_file = []
opts.cross_file = None
opts.wrap_mode = None
opts.prefix = prefix
opts.cmd_line_options = {}
- opts.native_file = []
return opts
def get_fake_env(sdir='', bdir=None, prefix='', opts=None):