diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/devtool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index e4de309e72..fb46559eec 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -1015,3 +1015,15 @@ class DevtoolTests(DevtoolBase): | |||
1015 | self.track_for_cleanup(tempdir) | 1015 | self.track_for_cleanup(tempdir) |
1016 | self.track_for_cleanup(self.workspacedir) | 1016 | self.track_for_cleanup(self.workspacedir) |
1017 | self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') | 1017 | self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') |
1018 | |||
1019 | def test_devtool_layer_plugins(self): | ||
1020 | """Test that devtool can use plugins from other layers. | ||
1021 | |||
1022 | This test executes the selftest-reverse command from meta-selftest.""" | ||
1023 | |||
1024 | self.track_for_cleanup(self.workspacedir) | ||
1025 | self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') | ||
1026 | |||
1027 | s = "Microsoft Made No Profit From Anyone's Zunes Yo" | ||
1028 | result = runCmd("devtool --quiet selftest-reverse \"%s\"" % s) | ||
1029 | self.assertEqual(result.output, s[::-1]) | ||