mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
Merge branch 'cross-installed-tests' into 'master'
Always build tests if we enabled installed-tests See merge request GNOME/glib!1138
This commit is contained in:
@@ -1009,8 +1009,6 @@ if enable_systemtap
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
subdir('fam')
|
subdir('fam')
|
||||||
# Don’t build the tests unless we can run them (either natively or in an exe wrapper)
|
|
||||||
build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper())
|
|
||||||
if build_tests
|
if build_tests
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
|
@@ -458,8 +458,6 @@ if enable_systemtap
|
|||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Don’t build the tests unless we can run them (either natively or in an exe wrapper)
|
|
||||||
build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper())
|
|
||||||
if build_tests
|
if build_tests
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
|
@@ -165,8 +165,6 @@ if enable_systemtap
|
|||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Don’t build the tests unless we can run them (either natively or in an exe wrapper)
|
|
||||||
build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper())
|
|
||||||
if build_tests
|
if build_tests
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
|
@@ -76,6 +76,9 @@ installed_tests_enabled = get_option('installed_tests')
|
|||||||
installed_tests_template = files('template.test.in')
|
installed_tests_template = files('template.test.in')
|
||||||
installed_tests_template_tap = files('template-tap.test.in')
|
installed_tests_template_tap = files('template-tap.test.in')
|
||||||
|
|
||||||
|
# Don’t build the tests unless we can run them (either natively, in an exe wrapper, or by installing them for later use)
|
||||||
|
build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper()) or installed_tests_enabled
|
||||||
|
|
||||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||||
|
|
||||||
# Disable strict aliasing;
|
# Disable strict aliasing;
|
||||||
@@ -2097,8 +2100,6 @@ subdir('gthread')
|
|||||||
subdir('gmodule')
|
subdir('gmodule')
|
||||||
subdir('gio')
|
subdir('gio')
|
||||||
subdir('fuzzing')
|
subdir('fuzzing')
|
||||||
# Don’t build the tests unless we can run them (either natively or in an exe wrapper)
|
|
||||||
build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper())
|
|
||||||
if build_tests
|
if build_tests
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user