diff options
Diffstat (limited to 'meta/classes/testsdk.bbclass')
-rw-r--r-- | meta/classes/testsdk.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index 417510ce3d..453ce4056d 100644 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk.bbclass | |||
@@ -5,14 +5,14 @@ | |||
5 | TEST_LOG_DIR ?= "${WORKDIR}/testimage" | 5 | TEST_LOG_DIR ?= "${WORKDIR}/testimage" |
6 | TESTSDKLOCK = "${TMPDIR}/testsdk.lock" | 6 | TESTSDKLOCK = "${TMPDIR}/testsdk.lock" |
7 | 7 | ||
8 | def run_test_context(CTestContext, d, testdir, tcname, pn): | 8 | def run_test_context(CTestContext, d, testdir, tcname, pn, *args): |
9 | import glob | 9 | import glob |
10 | import time | 10 | import time |
11 | 11 | ||
12 | targets = glob.glob(d.expand(testdir + "/tc/environment-setup-*")) | 12 | targets = glob.glob(d.expand(testdir + "/tc/environment-setup-*")) |
13 | for sdkenv in targets: | 13 | for sdkenv in targets: |
14 | bb.plain("Testing %s" % sdkenv) | 14 | bb.plain("Testing %s" % sdkenv) |
15 | tc = CTestContext(d, testdir, sdkenv) | 15 | tc = CTestContext(d, testdir, sdkenv, args) |
16 | 16 | ||
17 | # this is a dummy load of tests | 17 | # this is a dummy load of tests |
18 | # we are doing that to find compile errors in the tests themselves | 18 | # we are doing that to find compile errors in the tests themselves |
@@ -112,7 +112,7 @@ def testsdkext_main(d): | |||
112 | 112 | ||
113 | try: | 113 | try: |
114 | bb.plain("Running SDK Compatibility tests ...") | 114 | bb.plain("Running SDK Compatibility tests ...") |
115 | run_test_context(SDKTestContext, d, testdir, tcname, pn) | 115 | run_test_context(SDKExtTestContext, d, testdir, tcname, pn, True) |
116 | finally: | 116 | finally: |
117 | pass | 117 | pass |
118 | 118 | ||