1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00

remove obselete tests

This commit is contained in:
Hans-Christoph Steiner 2020-06-09 22:22:43 +02:00
parent 37f37ebd88
commit f0fb3b64f8
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
3 changed files with 0 additions and 28 deletions

View File

@ -541,7 +541,6 @@ include tests/description-parsing.py
include tests/dummy-keystore.jks include tests/dummy-keystore.jks
include tests/dump_internal_metadata_format.py include tests/dump_internal_metadata_format.py
include tests/exception.TestCase include tests/exception.TestCase
include tests/extra/convert_metadata_to_yaml_then_txt.sh
include tests/extra/manual-vmtools-test.py include tests/extra/manual-vmtools-test.py
include tests/getsig/getsig.java include tests/getsig/getsig.java
include tests/getsig/make.sh include tests/getsig/make.sh

View File

@ -1,14 +0,0 @@
#! /bin/bash
if [ ! -d metadata ]; then
echo 'no metadata directory present'
exit 1
fi
fdroid rewritemeta --to yml
fdroid rewritemeta --to txt
echo '## stripping maven, kivy, disable buildflags if they are set to "no"'
sed -i '/^ maven=no$/d' metadata/*.txt
sed -i '/^ kivy=no$/d' metadata/*.txt
sed -i '/^ disable=no$/d' metadata/*.txt

View File

@ -628,19 +628,6 @@ mkdir $REPOROOT/metadata/
cp $WORKSPACE/tests/metadata/org.smssecure.smssecure.yml $REPOROOT/metadata/ cp $WORKSPACE/tests/metadata/org.smssecure.smssecure.yml $REPOROOT/metadata/
$fdroid readmeta $fdroid readmeta
# now make a fake duplicate
touch $REPOROOT/metadata/org.smssecure.smssecure.yml
set +e
$fdroid readmeta
if [ $? -eq 0 ]; then
echo "This should have failed because there is a duplicate metadata file!"
exit 1
else
echo "testing duplicate metadata checks passed"
fi
set -e
#------------------------------------------------------------------------------# #------------------------------------------------------------------------------#
echo_header "ensure commands that don't need the JDK work without a JDK configed" echo_header "ensure commands that don't need the JDK work without a JDK configed"