Browse Source

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.
merge-requests/788/head
Marcus Hoffmann 3 months ago
parent
commit
bc6fa986d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/vcs.TestCase

+ 1
- 1
tests/vcs.TestCase View File

@ -57,7 +57,7 @@ class VCSTest(unittest.TestCase):
# and now we want to use this clone as a source repo for fdroid build
config = {}
os.mkdir("build")
config['sdk_path'] = os.getenv('ANDROID_HOME')
config['sdk_path'] = 'MOCKPATH'
config['ndk_paths'] = {'r10d': os.getenv('ANDROID_NDK_HOME')}
config['build_tools'] = 'FAKE_BUILD_TOOLS_VERSION'
config['java_paths'] = {'fake': 'fake'}

Loading…
Cancel
Save