On 02/13/2017 05:36 PM, Burton, Ross wrote:
             runCmd('bitbake -c cleanall man xcursor-transparent-theme')
    -        result = runCmd('bitbake man xcursor-transparent-theme -k',
    ignore_status=True)
    +        result = runCmd('bitbake -c unpack -k man
    xcursor-transparent-theme', ignore_status=True)


It's still doing a cleanall, which is removing stuff from DL_DIR.

If the test adds a function between fetch and unpack then it won't need
to do anything apart from bitbake -c unpack -f to run the test, and then
a cleanup -cclean to remove the tainted hashes.

The test is forcing its own private DL_DIR, so I really don't see why we should be concerned about avoiding doing cleanall:

    @testcase(1035)
    def test_continue(self):
        self.write_config("""DL_DIR = \"${TOPDIR}/download-selftest\"
SSTATE_DIR = \"${TOPDIR}/download-selftest\"
INHERIT_remove = \"report-error\"
""")


Alex
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to