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 e910672c31..9c69585a88 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
@@ -1471,6 +1471,14 @@ class DevtoolExtractTests(DevtoolBase): | |||
1471 | 1471 | ||
1472 | class DevtoolUpgradeTests(DevtoolBase): | 1472 | class DevtoolUpgradeTests(DevtoolBase): |
1473 | 1473 | ||
1474 | def setUp(self): | ||
1475 | super().setUp() | ||
1476 | try: | ||
1477 | runCmd("git config --global user.name") | ||
1478 | runCmd("git config --global user.email") | ||
1479 | except: | ||
1480 | self.skip("Git user.name and user.email must be set") | ||
1481 | |||
1474 | def test_devtool_upgrade(self): | 1482 | def test_devtool_upgrade(self): |
1475 | # Check preconditions | 1483 | # Check preconditions |
1476 | self.assertTrue(not os.path.exists(self.workspacedir), 'This test cannot be run with a workspace directory under the build directory') | 1484 | self.assertTrue(not os.path.exists(self.workspacedir), 'This test cannot be run with a workspace directory under the build directory') |