summaryrefslogtreecommitdiff
path: root/tacplus-daemon/test/testMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tacplus-daemon/test/testMain.cpp')
-rw-r--r--tacplus-daemon/test/testMain.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/tacplus-daemon/test/testMain.cpp b/tacplus-daemon/test/testMain.cpp
new file mode 100644
index 0000000..c7ea462
--- /dev/null
+++ b/tacplus-daemon/test/testMain.cpp
@@ -0,0 +1,19 @@
+/*
+ Copyright (c) 2018-2019 AT&T Intellectual Property.
+ Copyright (c) 2015 Brocade Communications Systems, Inc.
+
+ SPDX-License-Identifier: GPL-2.0-only
+*/
+
+#include "CppUTest/CommandLineTestRunner.h"
+extern "C" {
+ #include "global.h"
+}
+
+static ConnectionControl _connControl;
+ConnectionControl *connControl = &_connControl;
+
+int main(int ac, char** av)
+{
+ return CommandLineTestRunner::RunAllTests(ac, av);
+}