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:
parent
53077d8308
commit
42b61bdd76
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user