~hp/osc.lv2

b053e346728fad7d33c4866d8fb9be739a67ae86 — Hanspeter Portner 5 months ago 35d1b2b
Add missing check for FN_EXTMATCH in test
2 files changed, 3 insertions(+), 1 deletions(-)

M meson_options.txt
M test/osc.c
M meson_options.txt => meson_options.txt +1 -1
@@ 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')

M test/osc.c => test/osc.c +2 -0
@@ 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;
}