summaryrefslogtreecommitdiff
path: root/test/libtest
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-05 10:34:46 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-24 09:45:56 +0000
commitdd9429f438865c5a48b460b4ce33b3f74f90027f (patch)
tree6987a1383bb376adda4303a7aa80c6d4192681c7 /test/libtest
parent1d8ca53d581fb9e088ca2a91ca72788f32f7ec59 (diff)
tests: Remove IPA_MODULE_PATH environment variable
The tests declare a hard-coded LIBCAMERA_IPA_MODULE_PATH to allow tests to run from the test-suite. This requires tests to be run only from the root of the build directory, otherwise (for example, by running in their local directory) they will not be able to correctly locate the IPA modules. Now that the build path for the IPA manager is determined at runtime we can remove the redundant setting of the LIBCAMERA_IPA_MODULE_PATH for tests. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/libtest')
-rw-r--r--test/libtest/test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/libtest/test.cpp b/test/libtest/test.cpp
index 333d2160..6cd3fbe6 100644
--- a/test/libtest/test.cpp
+++ b/test/libtest/test.cpp
@@ -21,10 +21,6 @@ int Test::execute()
{
int ret;
- ret = setenv("LIBCAMERA_IPA_MODULE_PATH", "src/ipa", 1);
- if (ret)
- return errno;
-
ret = setenv("LIBCAMERA_IPA_PROXY_PATH", "src/libcamera/proxy/worker", 1);
if (ret)
return errno;