summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/testexport.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testexport.bbclass b/meta/classes/testexport.bbclass
index 1b0fb44a4a..deb68ec6ce 100644
--- a/meta/classes/testexport.bbclass
+++ b/meta/classes/testexport.bbclass
@@ -50,7 +50,7 @@ def testexport_main(d):
50 from oeqa.runtime.context import OERuntimeTestContextExecutor 50 from oeqa.runtime.context import OERuntimeTestContextExecutor
51 51
52 image_name = ("%s/%s" % (d.getVar('DEPLOY_DIR_IMAGE'), 52 image_name = ("%s/%s" % (d.getVar('DEPLOY_DIR_IMAGE'),
53 d.getVar('IMAGE_LINK_NAME'))) 53 d.getVar('IMAGE_LINK_NAME') or d.getVar('IMAGE_NAME')))
54 54
55 tdname = "%s.testdata.json" % image_name 55 tdname = "%s.testdata.json" % image_name
56 td = json.load(open(tdname, "r")) 56 td = json.load(open(tdname, "r"))