diff --git a/debian/rules b/debian/rules index a282136c..5571e037 100755 --- a/debian/rules +++ b/debian/rules @@ -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 index 570291cb..00000000 --- a/tests/run_tests.sh +++ /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 -# 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