1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-03 13:47:01 +03:00

Extra installation check before running the tests

This commit is contained in:
Carlos Martín 2011-03-09 11:59:16 +01:00
parent 53077d8308
commit 42b61bdd76

View File

@ -182,6 +182,11 @@ public:
NebulaLog::init_log_system(NebulaLog::FILE, Log::DEBUG, "test.log");
NebulaLog::log("Test", Log::INFO, "Test started");
// Set the opennebula install location to be the current dir.
// This will prevent some of the tests from writing the individual
// VM log files in an existing OpenNebula installation
setenv("ONE_LOCATION", ".", 1);
CppUnit::TextUi::TestRunner runner;
ofstream outputFile;