summaryrefslogtreecommitdiff
path: root/test/libtest/test.cpp
diff options
context:
space:
mode:
authorKaaira Gupta <kgupta@es.iitr.ac.in>2020-03-18 20:54:27 +0530
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-03-18 16:17:56 +0000
commit9a1e71b8a169930c3be06fb71ab01db67588d689 (patch)
treeec155b12fedb91ea9065204ec5240385555278ea /test/libtest/test.cpp
parent250df52bd914ac6af287035e1adcd497c36a38f0 (diff)
tests: remove IPA_PROXY_PATH environment variable
The tests declare a hard-coded LIBCAMERA_IPA_PROXY_PATH to allow tests to run from tests-suite. Now that the proxy path is determined at runtime, we can remove the redundant setting of LIBCAMERA_IPA_PROXY_PATH for tests. Signed-off-by: Kaaira Gupta <kgupta@es.iitr.ac.in> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/libtest/test.cpp')
-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 6cd3fbe6..fd9f3d74 100644
--- a/test/libtest/test.cpp
+++ b/test/libtest/test.cpp
@@ -21,10 +21,6 @@ int Test::execute()
{
int ret;
- ret = setenv("LIBCAMERA_IPA_PROXY_PATH", "src/libcamera/proxy/worker", 1);
- if (ret)
- return errno;
-
ret = init();
if (ret)
return ret;