diff options
-rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index b5c488be8e..ab58971fec 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
@@ -1075,7 +1075,12 @@ class DevtoolModifyTests(DevtoolBase): | |||
1075 | with open(source, "rt") as f: | 1075 | with open(source, "rt") as f: |
1076 | content = f.read() | 1076 | content = f.read() |
1077 | self.assertEquals(content, expected) | 1077 | self.assertEquals(content, expected) |
1078 | check('devtool', 'This is a test for something\n') | 1078 | if self.td["MACHINE"] == "qemux86": |
1079 | check('devtool', 'This is a test for qemux86\n') | ||
1080 | elif self.td["MACHINE"] == "qemuarm": | ||
1081 | check('devtool', 'This is a test for qemuarm\n') | ||
1082 | else: | ||
1083 | check('devtool', 'This is a test for something\n') | ||
1079 | check('devtool-no-overrides', 'This is a test for something\n') | 1084 | check('devtool-no-overrides', 'This is a test for something\n') |
1080 | check('devtool-override-qemuarm', 'This is a test for qemuarm\n') | 1085 | check('devtool-override-qemuarm', 'This is a test for qemuarm\n') |
1081 | check('devtool-override-qemux86', 'This is a test for qemux86\n') | 1086 | check('devtool-override-qemux86', 'This is a test for qemux86\n') |