Browse Source

remove obselete tests

merge-requests/761/head
Hans-Christoph Steiner 4 months ago
parent
commit
f0fb3b64f8
No known key found for this signature in database GPG Key ID: 3E177817BA1B9BFA
3 changed files with 0 additions and 28 deletions
  1. +0
    -1
      MANIFEST.in
  2. +0
    -14
      tests/extra/convert_metadata_to_yaml_then_txt.sh
  3. +0
    -13
      tests/run-tests

+ 0
- 1
MANIFEST.in View File

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

+ 0
- 14
tests/extra/convert_metadata_to_yaml_then_txt.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

+ 0
- 13
tests/run-tests View File

@ -628,19 +628,6 @@ mkdir $REPOROOT/metadata/
cp $WORKSPACE/tests/metadata/org.smssecure.smssecure.yml $REPOROOT/metadata/
$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"

Loading…
Cancel
Save