mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
skip tests on Windows that need bash
This commit is contained in:
parent
1f5534d060
commit
36849b2fba
2 changed files with 2 additions and 0 deletions
|
@ -332,6 +332,7 @@ class CommonTest(unittest.TestCase):
|
||||||
re.search('android:versionCode="%s"' % build.versionCode, filedata)
|
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):
|
def test_prepare_sources_with_prebuild_subdir(self):
|
||||||
testdir = tempfile.mkdtemp(
|
testdir = tempfile.mkdtemp(
|
||||||
prefix=inspect.currentframe().f_code.co_name, dir=self.tmpdir
|
prefix=inspect.currentframe().f_code.co_name, dir=self.tmpdir
|
||||||
|
|
|
@ -54,6 +54,7 @@ class InitTest(unittest.TestCase):
|
||||||
config = fdroidserver.common.read_config(fdroidserver.common.options)
|
config = fdroidserver.common.read_config(fdroidserver.common.options)
|
||||||
self.assertIsNone(config.get('keypass'))
|
self.assertIsNone(config.get('keypass'))
|
||||||
|
|
||||||
|
@unittest.skipIf(os.name == 'nt', "calling main() like this hangs on Windows")
|
||||||
def test_main_in_empty_dir(self):
|
def test_main_in_empty_dir(self):
|
||||||
"""Test that `fdroid init` will find apksigner and add it to the config"""
|
"""Test that `fdroid init` will find apksigner and add it to the config"""
|
||||||
testdir = tempfile.mkdtemp(
|
testdir = tempfile.mkdtemp(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue