mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
fix vcs test
It doesn't need a valid sdk_path, so just set it to something. The test was failing when ANDROID_HOME wasn't set in the env.
This commit is contained in:
parent
394ad8f863
commit
bc6fa986d1
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class VCSTest(unittest.TestCase):
|
||||||
# and now we want to use this clone as a source repo for fdroid build
|
# and now we want to use this clone as a source repo for fdroid build
|
||||||
config = {}
|
config = {}
|
||||||
os.mkdir("build")
|
os.mkdir("build")
|
||||||
config['sdk_path'] = os.getenv('ANDROID_HOME')
|
config['sdk_path'] = 'MOCKPATH'
|
||||||
config['ndk_paths'] = {'r10d': os.getenv('ANDROID_NDK_HOME')}
|
config['ndk_paths'] = {'r10d': os.getenv('ANDROID_NDK_HOME')}
|
||||||
config['build_tools'] = 'FAKE_BUILD_TOOLS_VERSION'
|
config['build_tools'] = 'FAKE_BUILD_TOOLS_VERSION'
|
||||||
config['java_paths'] = {'fake': 'fake'}
|
config['java_paths'] = {'fake': 'fake'}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue