diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index a2b4d7f7d1..1fe0628a44 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
| @@ -1464,6 +1464,14 @@ class DevtoolExtractTests(DevtoolBase): | |||
| 1464 | 1464 | ||
| 1465 | class DevtoolUpgradeTests(DevtoolBase): | 1465 | class DevtoolUpgradeTests(DevtoolBase): |
| 1466 | 1466 | ||
| 1467 | def setUp(self): | ||
| 1468 | super().setUp() | ||
| 1469 | try: | ||
| 1470 | runCmd("git config --global user.name") | ||
| 1471 | runCmd("git config --global user.email") | ||
| 1472 | except: | ||
| 1473 | self.skip("Git user.name and user.email must be set") | ||
| 1474 | |||
| 1467 | def test_devtool_upgrade(self): | 1475 | def test_devtool_upgrade(self): |
| 1468 | # Check preconditions | 1476 | # Check preconditions |
| 1469 | self.assertTrue(not os.path.exists(self.workspacedir), 'This test cannot be run with a workspace directory under the build directory') | 1477 | self.assertTrue(not os.path.exists(self.workspacedir), 'This test cannot be run with a workspace directory under the build directory') |
