From 4251193c3544ec105e75452c52d9c88384335df2 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 18 Nov 2024 01:11:17 +0200 Subject: test: libipa: Add Vector class test Add a unit test to exercize the API of the ipa::Vector class. The test binary being called 'vector', implicit includes cause the binary to be picked by '#include ', causing builds to fail. Set implicit_include_directories to false to avoid this, as done in commit 6cd849125888 ("test: Don't add current build directory to include path"). Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal --- test/ipa/libipa/meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ipa/libipa/meson.build') diff --git a/test/ipa/libipa/meson.build b/test/ipa/libipa/meson.build index 4d2427db..f9b3c46d 100644 --- a/test/ipa/libipa/meson.build +++ b/test/ipa/libipa/meson.build @@ -2,11 +2,13 @@ libipa_test = [ {'name': 'interpolator', 'sources': ['interpolator.cpp']}, + {'name': 'vector', 'sources': ['vector.cpp']}, ] foreach test : libipa_test exe = executable(test['name'], test['sources'], dependencies : [libcamera_private, libipa_dep], + implicit_include_directories : false, link_with : [test_libraries], include_directories : [test_includes_internal, '../../../src/ipa/libipa/']) -- cgit v1.2.1