blob: 333d2160e276ef6eb3528e5d0d7117ebcfd00304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone-missed"><line</* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2018, Google Inc.
*
* test.cpp - libcamera test base class
*/
#include <stdlib.h>
#include "test.h"
Test::Test()
{
}
Test::~Test()
{
}
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;
ret = init();
if (ret)
return ret;
ret = run();
cleanup();
return ret;
}
|