summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/lic-checksum.py
diff options
context:
space:
mode:
authorDaniel Istrate <daniel.alexandrux.istrate@intel.com>2015-06-29 15:18:41 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-08 00:01:19 +0100
commitffa54b94b636a24aa5264916d2b1abfcf029f7ae (patch)
tree1d8ec88873ceaf27a0c6bb1045c6d0ee8f7887ea /meta/lib/oeqa/selftest/lic-checksum.py
parent9f91aa697fb2cf5314aa4a99b2abbf0229cb1ea2 (diff)
downloadpoky-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.py2
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
4from oeqa.selftest.base import oeSelfTest 4from oeqa.selftest.base import oeSelfTest
5from oeqa.utils.commands import bitbake 5from oeqa.utils.commands import bitbake
6from oeqa.utils import CommandError 6from oeqa.utils import CommandError
7from oeqa.utils.decorators import testcase
7 8
8class LicenseTests(oeSelfTest): 9class 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'