diff options
author | Daniel Istrate <daniel.alexandrux.istrate@intel.com> | 2015-06-29 15:18:41 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-08 00:01:19 +0100 |
commit | ffa54b94b636a24aa5264916d2b1abfcf029f7ae (patch) | |
tree | 1d8ec88873ceaf27a0c6bb1045c6d0ee8f7887ea /meta/lib/oeqa/selftest/lic-checksum.py | |
parent | 9f91aa697fb2cf5314aa4a99b2abbf0229cb1ea2 (diff) | |
download | poky-ffa54b94b636a24aa5264916d2b1abfcf029f7ae.tar.gz |
oeqa/selftest: Added @testcase decorators to oeselftest testcases.
Added decorator to some testcases missing this feature.
(From OE-Core rev: 2a9009583fd498df94a55f21a149e302180f19cc)
Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@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/selftest/lic-checksum.py')
-rw-r--r-- | meta/lib/oeqa/selftest/lic-checksum.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/lic-checksum.py b/meta/lib/oeqa/selftest/lic-checksum.py index 92fc3a84f1..bd3b9a1ba3 100644 --- a/meta/lib/oeqa/selftest/lic-checksum.py +++ b/meta/lib/oeqa/selftest/lic-checksum.py | |||
@@ -4,11 +4,13 @@ import tempfile | |||
4 | from oeqa.selftest.base import oeSelfTest | 4 | from oeqa.selftest.base import oeSelfTest |
5 | from oeqa.utils.commands import bitbake | 5 | from oeqa.utils.commands import bitbake |
6 | from oeqa.utils import CommandError | 6 | from oeqa.utils import CommandError |
7 | from oeqa.utils.decorators import testcase | ||
7 | 8 | ||
8 | class LicenseTests(oeSelfTest): | 9 | class LicenseTests(oeSelfTest): |
9 | 10 | ||
10 | # Verify that changing a license file that has an absolute path causes | 11 | # Verify that changing a license file that has an absolute path causes |
11 | # the license qa to fail due to a mismatched md5sum. | 12 | # the license qa to fail due to a mismatched md5sum. |
13 | @testcase(1197) | ||
12 | def test_nonmatching_checksum(self): | 14 | def test_nonmatching_checksum(self): |
13 | bitbake_cmd = '-c configure emptytest' | 15 | bitbake_cmd = '-c configure emptytest' |
14 | error_msg = 'ERROR: emptytest: The new md5 checksum is 8d777f385d3dfec8815d20f7496026dc' | 16 | error_msg = 'ERROR: emptytest: The new md5 checksum is 8d777f385d3dfec8815d20f7496026dc' |