diff options
Diffstat (limited to 'test/libtest/test.cpp')
-rw-r--r-- | test/libtest/test.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/libtest/test.cpp b/test/libtest/test.cpp index fd9f3d74..4e03def9 100644 --- a/test/libtest/test.cpp +++ b/test/libtest/test.cpp @@ -2,7 +2,7 @@ /* * Copyright (C) 2018, Google Inc. * - * test.cpp - libcamera test base class + * libcamera test base class */ #include <stdlib.h> @@ -17,6 +17,11 @@ Test::~Test() { } +void Test::setArgs([[maybe_unused]] int argc, char *argv[]) +{ + self_ = argv[0]; +} + int Test::execute() { int ret; |