Remove empty shell-based test suite
authorChris Hofstaedtler <chris@hofstaedtler.name>
Fri, 17 Nov 2023 16:23:09 +0000 (17:23 +0100)
committerChris Hofstaedtler <chris@hofstaedtler.name>
Fri, 17 Nov 2023 16:36:47 +0000 (17:36 +0100)
Since commit a8eeda3e2d78607046e63866197995fc5ea4bd14 this seems obsolete.

debian/rules
tests/run_tests.sh [deleted file]

index a282136..5571e03 100755 (executable)
@@ -9,6 +9,5 @@
 
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-       (cd tests && ./run_tests.sh)
        make shellcheck
 endif
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
deleted file mode 100755 (executable)
index 570291c..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-# Filename:      run_tests
-# Purpose:       run unit tests for grml-autoconfig
-# Authors:       grml-team (grml.org), (c) Ulrich Dangel <mru@grml.org>
-# Bug-Reports:   see https://grml.org/bugs/
-# License:       This file is licensed under the GPL v2.
-################################################################################
-
-
-GLOBRETVAL=0
-
-for FILE in test_*.sh ; do
-  if [ -x "${FILE}" ] ; then
-     pretty_name="${FILE##test_}"
-     pretty_name="${pretty_name/.sh/}"
-
-     echo "Running test for: ${pretty_name}"
-
-     ./"${FILE}"
-     RETVAL=$?
-
-     [ "$RETVAL" -ne 0 ] && GLOBRETVAL=$RETVAL
-  fi
-done
-
-exit $GLOBRETVAL
-
-## END OF FILE #################################################################
-# vim:foldmethod=marker expandtab ai ft=zsh shiftwidth=2