aboutsummaryrefslogtreecommitdiff
path: root/run_cross_test.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-09-30 18:42:46 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-09-30 18:42:46 +0300
commitc1853c21e18e535f7b734076596495bd452d5d93 (patch)
treed91bfc608342ab6ea025b1a1f50b1f12cb34d61b /run_cross_test.py
parent3a282890bcb03da8cba7071d23f8e42bf313a32f (diff)
downloadmeson-c1853c21e18e535f7b734076596495bd452d5d93.zip
meson-c1853c21e18e535f7b734076596495bd452d5d93.tar.gz
meson-c1853c21e18e535f7b734076596495bd452d5d93.tar.bz2
Can specify cross file as a command line argument.
Diffstat (limited to 'run_cross_test.py')
-rwxr-xr-xrun_cross_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/run_cross_test.py b/run_cross_test.py
index c479eaf..ee158ef 100755
--- a/run_cross_test.py
+++ b/run_cross_test.py
@@ -31,8 +31,7 @@ test_build_dir = 'work area'
install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir')
meson_command = './meson.py'
-extra_flags = ['--cross-file', 'cross/ubuntu-armhf.txt']
-#extra_flags = ['--cross-file', 'cross/ubuntu-mingw.txt']
+extra_flags = ['--cross-file', sys.argv[1]]
ninja_command = environment.detect_ninja()
if ninja_command is None:
raise RuntimeError('Could not find Ninja executable.')