diff options
Diffstat (limited to 'test/libtest')
-rw-r--r-- | test/libtest/test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libtest/test.cpp b/test/libtest/test.cpp index 9d537ea0..b119cf19 100644 --- a/test/libtest/test.cpp +++ b/test/libtest/test.cpp @@ -5,6 +5,8 @@ * test.cpp - libcamera test base class */ +#include <stdlib.h> + #include "test.h" Test::Test() @@ -19,6 +21,10 @@ int Test::execute() { int ret; + ret = setenv("LIBCAMERA_IPA_MODULE_PATH", "src/ipa", 1); + if (ret) + return errno; + ret = init(); if (ret) return ret; |