Message ID | d6b3ee9a7499e6d38a5feeb42a43b9590f9d1a83.1649169646.git.anuj.mittal@intel.com |
---|---|
State | Accepted, archived |
Commit | 8874b5e602798a04643b06d981098f58fb4f7320 |
Headers | show |
Series | [honister,01/22] conf/machine: fix QEMU x86 sound options | expand |
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): class DevtoolUpgradeTests(DevtoolBase): + def setUp(self): + super().setUp() + try: + runCmd("git config --global user.name") + runCmd("git config --global user.email") + except: + self.skip("Git user.name and user.email must be set") + def test_devtool_upgrade(self): # Check preconditions self.assertTrue(not os.path.exists(self.workspacedir), 'This test cannot be run with a workspace directory under the build directory')