mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
tests/run-tests: stop skipping install.TestCase
This commit is contained in:
parent
27e3b5066a
commit
acae5f1ac9
@ -33,7 +33,10 @@ class InstallTest(unittest.TestCase):
|
||||
config = dict()
|
||||
fdroidserver.common.fill_config_defaults(config)
|
||||
fdroidserver.common.config = config
|
||||
config['adb'] = fdroidserver.common.find_sdk_tools_cmd('adb')
|
||||
try:
|
||||
config['adb'] = fdroidserver.common.find_sdk_tools_cmd('adb')
|
||||
except FDroidException as e:
|
||||
self.skipTest(f'Skipping test because: {e}')
|
||||
self.assertTrue(os.path.exists(config['adb']))
|
||||
self.assertTrue(os.path.isfile(config['adb']))
|
||||
devices = fdroidserver.install.devices()
|
||||
|
@ -172,10 +172,6 @@ echo_header "run unit tests"
|
||||
|
||||
cd $WORKSPACE/tests
|
||||
for testcase in $WORKSPACE/tests/*.TestCase; do
|
||||
if [ $testcase == $WORKSPACE/tests/install.TestCase ]; then
|
||||
echo "skipping install.TestCase, its too troublesome in CI builds"
|
||||
continue
|
||||
fi
|
||||
if [ $(uname) != "Linux" ] && [ $testcase == $WORKSPACE/tests/nightly.TestCase ]; then
|
||||
echo "skipping nightly.TestCase, it currently only works GNU/Linux"
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user