move logging_setup before load_profile
Writing to the log before logging_setup somehow breaks logging for the rest of
the program (oft.log wasn't created).
diff --git a/tests/oft b/tests/oft
index ca7e052..f59e99d 100755
--- a/tests/oft
+++ b/tests/oft
@@ -408,6 +408,9 @@
# Get configuration, set up logging, import platform from file
(config, args) = config_setup(config_default)
+logging_setup(config)
+logging.info("++++++++ " + time.asctime() + " ++++++++")
+
test_list_generate(config)
oft_config = config
@@ -468,9 +471,6 @@
print "%s.%s" % (mod.__name__, test)
sys.exit(0)
-logging_setup(config)
-logging.info("++++++++ " + time.asctime() + " ++++++++")
-
# Generate the test suite
#@todo Decide if multiple suites are ever needed
suite = unittest.TestSuite()