mirror of
https://gitlab.com/qemu-project/meson.git
synced 2025-09-16 14:41:54 +08:00
Skip tests for cross compilation when they can not be run.
This commit is contained in:
@ -22,7 +22,6 @@ Not part of the main test suite because of two reasons:
|
||||
|
||||
Eventually migrate to something fancier.'''
|
||||
|
||||
from glob import glob
|
||||
import os, subprocess, shutil, sys
|
||||
import environment
|
||||
|
||||
@ -32,7 +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-mingw.txt']
|
||||
extra_flags = ['--cross-file', 'cross/ubuntu-armhf.txt']
|
||||
ninja_command = environment.detect_ninja()
|
||||
if ninja_command is None:
|
||||
raise RuntimeError('Could not find Ninja executable.')
|
||||
|
Reference in New Issue
Block a user