diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2015-10-14 05:37:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-21 22:56:06 +0100 |
commit | b8a972839544c76e8713329f2bfb5abff92ade2c (patch) | |
tree | dd62d43bae559ff40743836e7221373ffbb3fbc5 /meta/lib/oeqa | |
parent | 94decbce394f74f11f79f6779598426e423e1745 (diff) | |
download | poky-b8a972839544c76e8713329f2bfb5abff92ade2c.tar.gz |
oeqa/selftest/buildoptions: Use the correct script for cleaning the workdir
The script 'cleanupworkdir' does not exit, so changing it to 'cleanup-workdir'.
(From OE-Core rev: 9a2292a995de9f93e742bda6c465daa854279fed)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/buildoptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index d76aef1eba..fbe0cd7c37 100644 --- a/meta/lib/oeqa/selftest/buildoptions.py +++ b/meta/lib/oeqa/selftest/buildoptions.py | |||
@@ -125,7 +125,7 @@ class BuildImagesTest(oeSelfTest): | |||
125 | This method is used to test the build of directfb image for arm arch. | 125 | This method is used to test the build of directfb image for arm arch. |
126 | In essence we build a coreimagedirectfb and test the exitcode of bitbake that in case of success is 0. | 126 | In essence we build a coreimagedirectfb and test the exitcode of bitbake that in case of success is 0. |
127 | """ | 127 | """ |
128 | self.add_command_to_tearDown('cleanupworkdir') | 128 | self.add_command_to_tearDown('cleanup-workdir') |
129 | self.write_config("DISTRO_FEATURES_remove = \"x11\"\nDISTRO_FEATURES_append = \" directfb\"\nMACHINE ??= \"qemuarm\"") | 129 | self.write_config("DISTRO_FEATURES_remove = \"x11\"\nDISTRO_FEATURES_append = \" directfb\"\nMACHINE ??= \"qemuarm\"") |
130 | res = bitbake("core-image-directfb", ignore_status=True) | 130 | res = bitbake("core-image-directfb", ignore_status=True) |
131 | self.assertEqual(res.status, 0, "\ncoreimagedirectfb failed to build. Please check logs for further details.\nbitbake output %s" % res.output) | 131 | self.assertEqual(res.status, 0, "\ncoreimagedirectfb failed to build. Please check logs for further details.\nbitbake output %s" % res.output) |
@@ -136,7 +136,7 @@ class ArchiverTest(oeSelfTest): | |||
136 | """ | 136 | """ |
137 | Test for archiving the work directory and exporting the source files. | 137 | Test for archiving the work directory and exporting the source files. |
138 | """ | 138 | """ |
139 | self.add_command_to_tearDown('cleanupworkdir') | 139 | self.add_command_to_tearDown('cleanup-workdir') |
140 | self.write_config("INHERIT = \"archiver\"\nARCHIVER_MODE[src] = \"original\"\nARCHIVER_MODE[srpm] = \"1\"") | 140 | self.write_config("INHERIT = \"archiver\"\nARCHIVER_MODE[src] = \"original\"\nARCHIVER_MODE[srpm] = \"1\"") |
141 | res = bitbake("xcursor-transparent-theme", ignore_status=True) | 141 | res = bitbake("xcursor-transparent-theme", ignore_status=True) |
142 | self.assertEqual(res.status, 0, "\nCouldn't build xcursortransparenttheme.\nbitbake output %s" % res.output) | 142 | self.assertEqual(res.status, 0, "\nCouldn't build xcursortransparenttheme.\nbitbake output %s" % res.output) |