From b053e346728fad7d33c4866d8fb9be739a67ae86 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Fri, 24 Nov 2023 21:45:37 +0100 Subject: [PATCH] Add missing check for FN_EXTMATCH in test --- meson_options.txt | 2 +- test/osc.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index 9dbeb77..23510d3 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -6,4 +6,4 @@ option('build-tests', value : true, yield : true) -option('version', type : 'string', value : '0.1.171') +option('version', type : 'string', value : '0.1.181') diff --git a/test/osc.c b/test/osc.c index ec16890..20ea344 100644 --- a/test/osc.c +++ b/test/osc.c @@ -1308,6 +1308,7 @@ _run_test_hooks() assert(foo_sub_two[1] == 0); } +#if defined(FNM_EXTMATCH) { assert(_run_test_hooks_internal("/{foo,bar}") == true); assert(foo == 2); @@ -1325,6 +1326,7 @@ _run_test_hooks() assert(foo_sub_two[0] == 2); assert(foo_sub_two[1] == 2); } +#endif return 0; } -- 2.38.5