From 3900b0771ecb160f26a24b4a9bf72e827256e7da Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Thu, 20 Dec 2018 15:40:37 +0000 Subject: test: Move test objects to libtest Create a subdirectory to contain the libtest helper library. Define two variables to clarify when tests are aimed at public or internal components. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- test/test.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 test/test.cpp (limited to 'test/test.cpp') diff --git a/test/test.cpp b/test/test.cpp deleted file mode 100644 index 1bb6ebcb..00000000 --- a/test/test.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2018, Google Inc. - * - * test.cpp - libcamera test base class - */ - -#include "test.h" - -Test::Test() -{ -} - -Test::~Test() -{ -} - -int Test::execute() -{ - int ret; - - ret = init(); - if (ret < 0) - return ret; - - ret = run(); - - cleanup(); - - return ret; -} -- cgit v1.2.1