From 3fac2417ddfffb8b32a821ae4b53fabfbb48a8fa Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Tue, 29 Nov 2016 18:12:49 -0600 Subject: classes/testsdk: Remove the need of TEST_LOG_DIR variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The TEST_LOG_DIR was used for store sdk_target_log this log contains the output of the run of build commands now that information could be found also on log.do_testsdk under WORKDIR. The log will continue to store into SDK_DIR instead of TEST_LOG_DIR. (From OE-Core rev: 1c9ba4b698bab916d42b58255692a7bf3d773bbc) Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- meta/classes/testsdk.bbclass | 6 ------ 1 file changed, 6 deletions(-) (limited to 'meta/classes/testsdk.bbclass') diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index 7304129b49..176dafd6b3 100644 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk.bbclass @@ -14,7 +14,6 @@ # # where "" is an image like core-image-sato. -TEST_LOG_DIR ?= "${WORKDIR}/testimage" TESTSDKLOCK = "${TMPDIR}/testsdk.lock" def run_test_context(CTestContext, d, testdir, tcname, pn, *args): @@ -65,17 +64,12 @@ def testsdk_main(d): # sdk use network for download projects for build export_proxies(d) - test_log_dir = d.getVar("TEST_LOG_DIR", True) - - bb.utils.mkdirhier(test_log_dir) - tcname = d.expand("${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh") if not os.path.exists(tcname): bb.fatal("The toolchain %s is not built. Build it before running the tests: 'bitbake -c populate_sdk' ." % tcname) tdname = d.expand("${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.testdata.json") test_data = json.load(open(tdname, "r")) - test_data['TEST_LOG_DIR'] = test_log_dir target_pkg_manifest = OESDKTestContextExecutor._load_manifest( d.expand("${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.target.manifest")) -- cgit v1.2.3-54-g00ecf