summaryrefslogtreecommitdiff
path: root/scripts/sanitycheck
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2016-04-08 13:31:53 -0700
committerAndrew Boie <andrew.p.boie@intel.com>2016-04-08 13:31:53 -0700
commit14ac902633fcc13d2e80efe6d5cb6465167d42f7 (patch)
treeaff5cb5937901a53afbbad306f4fb5c83e52fb27 /scripts/sanitycheck
parent146b76d8392106043dd43254f64c0edf632a7160 (diff)
sanitycheck: fix test names to be same as before
Add the last path information in the testcase root to the test name, so that there is much less of chance of name collisions and the reports come out with the same names as before. Change-Id: I75ed6ee96251058dd2547e57be31db3c2517a497 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'scripts/sanitycheck')
-rwxr-xr-xscripts/sanitycheck3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/sanitycheck b/scripts/sanitycheck
index 776ba08e5..f61434a37 100755
--- a/scripts/sanitycheck
+++ b/scripts/sanitycheck
@@ -991,7 +991,8 @@ class TestCase:
self.timeout = tc_dict["timeout"]
self.build_only = tc_dict["build_only"]
self.slow = tc_dict["slow"]
- self.path = os.path.join(workdir, name)
+ self.path = os.path.join(os.path.basename(os.path.abspath(testcase_root)),
+ workdir, name)
self.name = self.path # for now
self.defconfig = {}
self.ktype = None