Skip to content
Snippets Groups Projects
Commit d3a2c22f authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #6714: fixed make distcheck for daemon

parent 66e0d9b2
Branches
Tags
No related merge requests found
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
* as that of the covered work. * as that of the covered work.
*/ */
#include <logger.h> #include "logger.h"
#include <manager.h> #include "manager.h"
#include <constants.h> #include "constants.h"
#include <cstdlib> #include <cstdlib>
...@@ -119,11 +119,11 @@ int main (int argc, char* argv[]) ...@@ -119,11 +119,11 @@ int main (int argc, char* argv[])
} }
// Run the tests. // Run the tests.
bool wasSucessful = runner.run(); bool wasSuccessful = runner.run();
Manager::instance().terminate(); Manager::instance().terminate();
system("mv " CONFIG_SAMPLE ".bak " CONFIG_SAMPLE); system("mv " CONFIG_SAMPLE ".bak " CONFIG_SAMPLE);
return wasSucessful ? 0 : 1; return wasSuccessful ? 0 : 1;
} }
...@@ -28,6 +28,7 @@ pushd daemon/test ...@@ -28,6 +28,7 @@ pushd daemon/test
# Remove the previous XML test file # Remove the previous XML test file
rm -rf $XML_RESULTS rm -rf $XML_RESULTS
make check || exit 1 make check || exit 1
./run_tests.sh
popd popd
# Compile the client # Compile the client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment