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:
parent
37f37ebd88
commit
f0fb3b64f8
@ -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
|
||||||
|
@ -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
|
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user