]> code.ossystems Code Review - openembedded-core.git/commit
devtool.py: track to clean devtool.conf in test_create_workspace
authorChen Qi <Qi.Chen@windriver.com>
Wed, 3 Jul 2019 03:39:48 +0000 (11:39 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Jul 2019 16:00:19 +0000 (17:00 +0100)
commita0a96db23686a38235fb0373e75e8b2951216c18
treeaf80d07f0a565e97f976fd1863b3f250a2e37184
parent98fbf61287971319547cc462b7c81f54950df619
devtool.py: track to clean devtool.conf in test_create_workspace

`devtool create-workspace' would create devtool.conf, so track to
clean it up. Otherwise, this devtool.conf file would mess things up.

e.g.
oe-selftest -r devtool && oe-selftest -r devtool -j 2
AssertionError: '/PROJ_DIR/build-selftest-st-15753/workspace/conf/layer.conf' does not exist : Workspace directory not created

This is because the devtool.conf is also copied to build-selftest-st-xxxx
directory, resulting in devtool to create and use workspace specified
in this file.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/devtool.py