summaryrefslogtreecommitdiffstats
path: root/utils/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/parser.py')
-rw-r--r--utils/parser.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/parser.py b/utils/parser.py
index f130de44..2cdec57b 100644
--- a/utils/parser.py
+++ b/utils/parser.py
@@ -83,15 +83,15 @@ class Parser():
@classmethod
def testcase_out_dir(cls, testcase):
- suffix_name = os.getenv("SUFFIX_STRING")
- if suffix_name is None:
+ file_name = os.getenv("OUTPUT_FILE")
+ if file_name is None:
file_suffix = time.strftime('%H_%M', time.localtime(time.time()))
+ suffix_name = "_" + str(file_suffix)
+ out_name = cls.bottlenecks_config["log_dir"] + testcase
+ outfile_name = out_name + suffix_name + ".out"
else:
- file_suffix = suffix_name
- suffix_name = str(suffix_name)
- suffix_name = "_" + suffix_name
- out_name = cls.bottlenecks_config["log_dir"] + testcase + file_suffix
- outfile_name = out_name + ".out"
+ out_name = str(file_name)
+ outfile_name = cls.bottlenecks_config["log_dir"] + out_name
return outfile_name
@staticmethod