summaryrefslogtreecommitdiffstats
path: root/tests/main.cc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-05-29 19:05:31 +0900
committerMichele Calgaro <[email protected]>2021-05-29 19:31:17 +0900
commit66abbed5e08370412b81be1628590898ceeeb604 (patch)
treeb31703c326b690ad90f926f97ce0e92e70bf7cdd /tests/main.cc
parent51b78ed87ec5219dc0413aa86132f16cb0a8cab1 (diff)
downloadkpilot-66abbed5e08370412b81be1628590898ceeeb604.tar.gz
kpilot-66abbed5e08370412b81be1628590898ceeeb604.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tests/main.cc')
-rw-r--r--tests/main.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/main.cc b/tests/main.cc
deleted file mode 100644
index c6ddd23..0000000
--- a/tests/main.cc
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <cppunit/extensions/TestFactoryRegistry.h>
-#include <cppunit/ui/text/TestRunner.h>
-
-int main( int argc, char **argv)
-{
- CppUnit::TestFactoryRegistry &registry =
- CppUnit::TestFactoryRegistry::getRegistry();
-
- CppUnit::TextUi::TestRunner runner;
- runner.addTest( registry.makeTest() );
-
- // Run the tests.
- bool wasSucessful = runner.run();
-
- // Return error code 1 if the one of test failed.
- return wasSucessful ? 0 : 1;
-}