diff options
Diffstat (limited to 'QA')
-rw-r--r-- | QA/Checker/checker.cpp | 4 | ||||
-rw-r--r-- | QA/UnitTest/SConscript | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/QA/Checker/checker.cpp b/QA/Checker/checker.cpp index 12237dc..1ec8892 100644 --- a/QA/Checker/checker.cpp +++ b/QA/Checker/checker.cpp @@ -19,6 +19,8 @@ int main(int argc, char* argv[]) { bool verbose = false; bool outputXML = false; + Swift::Log::setLogLevel(Swift::Log::error); + // Parse parameters std::vector<std::string> testsToRun; for (int i = 1; i < argc; ++i) { @@ -30,7 +32,7 @@ int main(int argc, char* argv[]) { outputXML = true; } else if (param == "--debug") { - Swift::logging = true; + Swift::Log::setLogLevel(Swift::Log::debug); } else { testsToRun.push_back(param); diff --git a/QA/UnitTest/SConscript b/QA/UnitTest/SConscript index 11e6fbb..53c38f5 100644 --- a/QA/UnitTest/SConscript +++ b/QA/UnitTest/SConscript @@ -6,7 +6,7 @@ if env["TEST"] : if env["SCONS_STAGE"] == "flags" : env["UNITTEST_SOURCES"] = [] env["UNITTEST_OBJECTS"] = [] - if env["SCONS_STAGE"] == "test" : + if env["SCONS_STAGE"] == "build" : myenv = env.Clone() myenv.UseFlags(env.get("CHECKER_FLAGS","")) myenv.UseFlags(env.get("SLIMBER_FLAGS","")) @@ -25,5 +25,4 @@ if env["TEST"] : myenv.Program("checker", lib) else : checker = myenv.Program("checker", env["UNITTEST_SOURCES"] + env["UNITTEST_OBJECTS"]) - myenv.Test(checker, is_checker = True) - + myenv.Test(checker, is_checker = True)
\ No newline at end of file |