The whole test suite runs cross-built with mingw and armhf.

pull/15/head
Jussi Pakkanen 11 years ago
parent 0f35ac078d
commit c3640ef036
  1. 3
      run_cross_test.py
  2. 2
      test cases/common/30 pipeline/meson.build

@ -31,7 +31,8 @@ test_build_dir = 'work area'
install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir') install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir')
meson_command = './meson.py' meson_command = './meson.py'
extra_flags = ['--cross-file', 'cross/ubuntu-armhf.txt'] #extra_flags = ['--cross-file', 'cross/ubuntu-armhf.txt']
extra_flags = ['--cross-file', 'cross/ubuntu-mingw.txt']
ninja_command = environment.detect_ninja() ninja_command = environment.detect_ninja()
if ninja_command is None: if ninja_command is None:
raise RuntimeError('Could not find Ninja executable.') raise RuntimeError('Could not find Ninja executable.')

@ -1,6 +1,6 @@
project('pipeline test', 'c') project('pipeline test', 'c')
e1 = executable('srcgen', 'srcgen.c') e1 = executable('srcgen', 'srcgen.c', native : true)
gen = generator(e1, gen = generator(e1,
outputs : '@BASENAME@.h', outputs : '@BASENAME@.h',

Loading…
Cancel
Save