drop both vtests and autopkgtests, these are not useful to run ☹
authormirabilos <tg@debian.org>
Fri, 14 Dec 2018 03:09:41 +0000 (04:09 +0100)
committermirabilos <mirabilos@evolvis.org>
Fri, 14 Dec 2018 03:09:41 +0000 (04:09 +0100)
debian/autopkgtest [deleted file]
debian/changelog
debian/control
debian/tests/control [deleted file]
debian/tests/upstream-tests [deleted file]
debian/tests/upstream-tests-with-valgrind [deleted file]

diff --git a/debian/autopkgtest b/debian/autopkgtest
deleted file mode 100644 (file)
index 553e20a..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-export LC_ALL=C
-unset LANGUAGE
-export QT_QPA_PLATFORM=vnc
-
-[[ $1 = 1 ]]; novalgrind=$?
-
-function dotest {
-       set +e
-       set -A valgrind
-       (( novalgrind )) || set -A valgrind -- valgrind \
-           --trace-children=yes --track-origins=yes \
-           --error-markers=BEGIN-VALGRIND,END-VALGRIND \
-           --keep-debuginfo=yes --read-var-info=yes \
-           --log-file="$outdir/$1/valgrind.log"
-       shift
-       xvfb-run -a -- "${valgrind[@]}" "$@"
-       rv=$?
-       set -e
-       return 0
-}
-
-set -e
-set -o pipefail
-
-objdir=$(</usr/lib/debug/musescore/objdir)
-if [[ -z $objdir ]]; then
-       print -ru2 -- "E: objdir not set"
-       ls -la /usr/lib/debug/musescore | sed 's/^/N: /' >&2
-       exit 1
-fi
-
-mkdir -p "$AUTOPKGTEST_ARTIFACTS"/{v,m}test
-outdir=$(realpath "$AUTOPKGTEST_ARTIFACTS")
-cp -r . "$AUTOPKGTEST_TMP/"
-rm -rf "$AUTOPKGTEST_TMP/$objdir"
-mkdir "$AUTOPKGTEST_TMP/$objdir"
-cd /usr/lib/debug/musescore
-find mtest -type f | cpio -pdlu "$AUTOPKGTEST_TMP/$objdir/"
-cd "$AUTOPKGTEST_TMP"
-
-cd "$objdir/mtest"
-dotest mtest ctest -O ctest.log $j --output-on-failure \
-    >"$outdir/mtest/ctest.log" 2>&1
-(( !rv )) || print -ru2 -- "E: mtests failed with errorlevel $rv"
-x=$(fgrep 'tests failed out of' ctest.log)
-print -r -- "$x" >"$outdir/mtest.out"
-:||if [[ $x != *'passed, 0 tests failed'* ]]; then
-       print -ru2 -- N: $x
-       print -ru2 -- "E: mtests found failures"
-fi
-cd "$AUTOPKGTEST_TMP"
-
-cd vtest
-export VTEST_BROWSER=ls
-export VTEST_MSCORE=/usr/bin/mscore
-dotest vtest ./gen >"$outdir/vtest/gen.log" 2>&1
-cp -r html/* "$outdir/vtest/"
-if (( rv )); then
-       print -ru2 -- "E: vtests failed with errorlevel $rv"
-else
-       x=$(grep -B 1 'all: [^0]' html/LOG-compare)
-       print -r -- "$x" >"$outdir/vtest.out"
-       :||if [[ -n $x ]]; then
-               print -r -- "$x" | sed 's/^/N: /' >&2
-               print -ru2 -- "E: vtests found mismatches"
-       fi
-fi
-
-exit 0
index 24e7f1d..77a045e 100644 (file)
@@ -2,10 +2,8 @@ musescore (2.3.2+dfsg2-2) UNRELEASED; urgency=medium
 
   * Update manpage
   * Run upstream mtests during build, but don’t fail the build yet
-  * Also run them as autopkgtests, both with and without valgrind
-    (also vtests — but we’ll not be able to do this in reality)
 
- -- Thorsten Glaser <tg@mirbsd.de>  Fri, 07 Dec 2018 23:18:33 +0100
+ -- Thorsten Glaser <tg@mirbsd.de>  Fri, 14 Dec 2018 04:09:29 +0100
 
 musescore (2.3.2+dfsg2-1) unstable; urgency=medium
 
index 8281129..30ecb2c 100644 (file)
@@ -10,8 +10,7 @@ Homepage: https://musescore.org/en
 Build-Depends: cmake,
                debhelper (>= 11~),
 # for the tests
-               cpio,
-               imagemagick,
+#              imagemagick,
                mksh,
                qml-module-qtquick-controls,
                qml-module-qtquick-dialogs,
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644 (file)
index 2bfc5b9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Tests: upstream-tests
-Depends: cmake, cpio, imagemagick, mksh, xauth, xvfb, musescore, musescore-dbgsym
-Restrictions: superficial
-
-Tests: upstream-tests-with-valgrind
-Depends: cmake, cpio, imagemagick, mksh, xauth, xvfb, musescore, musescore-dbgsym, valgrind
-Restrictions: superficial, skip-not-installable
diff --git a/debian/tests/upstream-tests b/debian/tests/upstream-tests
deleted file mode 100644 (file)
index 5c8055c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec mksh debian/autopkgtest 0
diff --git a/debian/tests/upstream-tests-with-valgrind b/debian/tests/upstream-tests-with-valgrind
deleted file mode 100644 (file)
index c37cbde..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec mksh debian/autopkgtest 1