summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-build-perf-test11
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 786c715dfc..4e6d738374 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -133,10 +133,19 @@ def main(argv=None):
133 out_dir = args.out_dir.format(date=datetime.now().strftime('%Y%m%d%H%M%S')) 133 out_dir = args.out_dir.format(date=datetime.now().strftime('%Y%m%d%H%M%S'))
134 setup_file_logging(os.path.join(out_dir, 'output.log')) 134 setup_file_logging(os.path.join(out_dir, 'output.log'))
135 135
136 # Run actual tests
137 archive_build_conf(out_dir) 136 archive_build_conf(out_dir)
138 runner = BuildPerfTestRunner(out_dir, verbosity=2) 137 runner = BuildPerfTestRunner(out_dir, verbosity=2)
138
139 # Suppress logger output to stderr so that the output from unittest
140 # is not mixed with occasional logger output
141 log.handlers[0].setLevel(logging.CRITICAL)
142
143 # Run actual tests
139 result = runner.run(suite) 144 result = runner.run(suite)
145
146 # Restore logger output to stderr
147 log.handlers[0].setLevel(log.level)
148
140 if result.wasSuccessful(): 149 if result.wasSuccessful():
141 if args.globalres_file: 150 if args.globalres_file:
142 result.update_globalres_file(args.globalres_file) 151 result.update_globalres_file(args.globalres_file)