summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/tests/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/utils.py b/bitbake/lib/bb/tests/utils.py
index 7c50b1d786..cf145f0d7a 100644
--- a/bitbake/lib/bb/tests/utils.py
+++ b/bitbake/lib/bb/tests/utils.py
@@ -35,6 +35,10 @@ class VerCmpString(unittest.TestCase):
35 self.assertTrue(result < 0) 35 self.assertTrue(result < 0)
36 result = bb.utils.vercmp_string('1.1', '1_p2') 36 result = bb.utils.vercmp_string('1.1', '1_p2')
37 self.assertTrue(result < 0) 37 self.assertTrue(result < 0)
38 result = bb.utils.vercmp_string('1.0', '1.0+1.1-beta1')
39 self.assertTrue(result < 0)
40 result = bb.utils.vercmp_string('1.1', '1.0+1.1-beta1')
41 self.assertTrue(result > 0)
38 42
39 def test_explode_dep_versions(self): 43 def test_explode_dep_versions(self):
40 correctresult = {"foo" : ["= 1.10"]} 44 correctresult = {"foo" : ["= 1.10"]}