summaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 8372574..0aa78e8 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -10,6 +10,7 @@ test_c_args = ['-UNDEBUG']
test_env = environment()
test_env.set('LD_PRELOAD', '')
test_env.set('DYLD_INSERT_LIBRARIES', '')
+test_env.set('NM', find_program('nm', native: true).full_path())
# [name, sources, dependencies, suites]
term_tests = [
@@ -97,6 +98,7 @@ test('term-symbols-test', bash,
args: [files('symbols_test.sh'), term_headless_lib.get_static_lib(),
meson.project_source_root() / 'include' / 'term',
term_headless_lib.get_shared_lib()],
+ env: test_env,
suite: 'unit',
)
test('term-header-test', bash,