many pervasive clean-ups
[feisty_meow.git] / nucleus / library / unit_test / unit_base.cpp
index 439cc6974dc518a7a9d9179b9d23f18073759f94..08e7a8967fbd53a51cf743c80dc91eb170b3c336 100644 (file)
@@ -270,6 +270,8 @@ int unit_base::final_report()
 
   astring keyword = "FAILURE";  // but be pessimistic about overall result at first..?
 
+// BASE_LOG(a_sprintf("total tests %d passed tests %d", c_total_tests, c_passed_tests));
+
   // check whether we really did succeed or not.
   if (c_total_tests == c_passed_tests) keyword = "SUCCESS";  // success!
   else to_return = 12;  // a failure return.
@@ -297,7 +299,7 @@ int unit_base::final_report()
 void unit_base::write_cppunit_xml()
 {
   auto_synchronizer synch(c_lock);
-  astring logs_dir = environment::get("LOGS_DIR");
+  astring logs_dir = environment::get("FEISTY_MEOW_LOGS");
   if (logs_dir == astring::empty_string()) logs_dir = "logs";  // uhhh.
   astring outfile = logs_dir + "/"
       + filename(application_configuration::application_name()).basename().raw()