summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2011-08-14 13:14:30 +0200
committerAndrea Arteaga <andyspiros@gmail.com>2011-08-14 13:14:30 +0200
commitcd7edaa52900ab114ad31a785987bafc00e9f8ff (patch)
treef92c104d6c2bfe46f4cc07078b0126c3ba14f97c
parentAdded main logging. Solved issues with utils and Portage. (diff)
downloadauto-numerical-bench-cd7edaa52900ab114ad31a785987bafc00e9f8ff.tar.gz
auto-numerical-bench-cd7edaa52900ab114ad31a785987bafc00e9f8ff.tar.bz2
auto-numerical-bench-cd7edaa52900ab114ad31a785987bafc00e9f8ff.zip
A few changes to btlbase
-rw-r--r--btlbase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/btlbase.py b/btlbase.py
index 5a7c555..890cbc5 100644
--- a/btlbase.py
+++ b/btlbase.py
@@ -137,9 +137,10 @@ class BTLTest(basemodule.BaseTest):
Print('Execution error')
return 1
logfile.write(outline)
+ logfile.flush()
Print(outline.strip())
Print.up()
logfile.close()
proc.wait()
Print("Execution finished with return code " + str(proc.returncode))
- return proc.returncode \ No newline at end of file
+ return proc.returncode