ci: run test in CI
+ Add CODE_COVERAGE option to be able to generate coverage reports
via gcov/lcov
+ CMake now fails if run build.py with an error status
+ Dockerfile now uses dependencies from contrib as specified in the
documentation
+ Add Jenkinsfile to run tests
+ Fix tests_fileUtils (removeAll return 0 if directory doesn't exists)
+ Disable test with sporadic failures, this needs to be fixed.
GitLab: #3
Change-Id: I7e6dd20c69ffa5900de56a1586f57603040bba73
diff --git a/tests/testFileutils.cpp b/tests/testFileutils.cpp
index 9bc3367..f6fa77e 100644
--- a/tests/testFileutils.cpp
+++ b/tests/testFileutils.cpp
@@ -97,7 +97,7 @@
CPPUNIT_ASSERT(removeAll(NON_EXISTANT_PATH_BASE) == 0);
CPPUNIT_ASSERT(!isDirectory(NON_EXISTANT_PATH_BASE));
//remove an non existent directory
- CPPUNIT_ASSERT(removeAll(NON_EXISTANT_PATH_BASE) == -1);
+ CPPUNIT_ASSERT(removeAll(NON_EXISTANT_PATH_BASE) == 0);
}
void