diff --git a/tools/run_perf.py b/tools/run_perf.py index 544823d36c..1e22b298a8 100644 --- a/tools/run_perf.py +++ b/tools/run_perf.py @@ -459,7 +459,9 @@ class RunnableConfig(GraphConfig): """ suite_dir = os.path.abspath(os.path.dirname(suite_path)) bench_dir = os.path.normpath(os.path.join(*self.path)) - os.chdir(os.path.join(suite_dir, bench_dir)) + cwd = os.path.join(suite_dir, bench_dir) + logging.debug('Changing CWD to: %s' % cwd) + os.chdir(cwd) def GetCommandFlags(self, extra_flags=None): suffix = ['--'] + self.test_flags if self.test_flags else []