From 2f15cb76e3aace0e16160302dcf89b2b5570f5d4 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Fri, 17 Nov 2023 17:23:09 +0100 Subject: [PATCH] Remove empty shell-based test suite Since commit a8eeda3e2d78607046e63866197995fc5ea4bd14 this seems obsolete. --- debian/rules | 1 - tests/run_tests.sh | 29 ----------------------------- 2 files changed, 30 deletions(-) delete mode 100755 tests/run_tests.sh diff --git a/debian/rules b/debian/rules index a282136..5571e03 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 570291c..0000000 --- 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 -- 2.1.4