From 00b3772b4ebed3f9815581e9bbbda74c258fa887 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Tue, 15 Nov 2016 09:55:18 -0800 Subject: [PATCH] Add temp path to test header --- compiler/tests/testutils.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/compiler/tests/testutils.py b/compiler/tests/testutils.py index 6c840f6d..7b8e2cc6 100644 --- a/compiler/tests/testutils.py +++ b/compiler/tests/testutils.py @@ -29,12 +29,15 @@ def isdiff(file1,file2): debug.info(2,"MATCH {0} {1}".format(file1,file2)) return (check) -def header(str, tec): +def header(filename, technology): tst = "Running Test for:" print "\n" print " ______________________________________________________________________________ " print "|==============================================================================|" print "|=========" + tst.center(60) + "=========|" - print "|=========" + tec.center(60) + "=========|" - print "|=========" + str.center(60) + "=========|" + print "|=========" + technology.center(60) + "=========|" + print "|=========" + filename.center(60) + "=========|" + import globals + OPTS = globals.get_opts() + print "|=========" + OPTS.openram_temp.center(60) + "=========|" print "|==============================================================================|"