skip tests on Windows that need bash

This commit is contained in:
Hans-Christoph Steiner 2021-06-14 20:53:14 +02:00
parent 1f5534d060
commit 36849b2fba
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
2 changed files with 2 additions and 0 deletions

View file

@ -332,6 +332,7 @@ class CommonTest(unittest.TestCase):
re.search('android:versionCode="%s"' % build.versionCode, filedata)
)
@unittest.skipIf(os.name == 'nt', "`fdroid build` assumes POSIX scripting")
def test_prepare_sources_with_prebuild_subdir(self):
testdir = tempfile.mkdtemp(
prefix=inspect.currentframe().f_code.co_name, dir=self.tmpdir