[Pkg-sdl-commits] [sdlgfx] 03/06: More fixes to tests: check only for tests that are built by default

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Sat Oct 28 21:21:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

mafm pushed a commit to annotated tag debian/2.0.25-9
in repository sdlgfx.

commit 912dd0528b904ebe5a9a42302498eb150637d0ab
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Sat Oct 28 22:52:47 2017 +0200

    More fixes to tests: check only for tests that are built by default
---
 debian/changelog                      | 1 +
 debian/tests/compile-libsdl-gfx-test0 | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c2e2823..0a1e5ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ sdlgfx (2.0.25-9) UNRELEASED; urgency=medium
 
   * Changes when creating tar with examples for reproducible builds.
     Thanks Chris Lamb. (Closes: #879913)
+  * More fixes to tests: check only for tests that are built by default
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Sat, 28 Oct 2017 22:34:52 +0200
 
diff --git a/debian/tests/compile-libsdl-gfx-test0 b/debian/tests/compile-libsdl-gfx-test0
index d9ea587..98bfe85 100644
--- a/debian/tests/compile-libsdl-gfx-test0
+++ b/debian/tests/compile-libsdl-gfx-test0
@@ -23,10 +23,10 @@ make
 echo "build: OK"
 
 # check/execute
-for BINFILE in `echo *.c | sed 's|\.c||g'`
+for BINFILE in `echo Test*.c | sed 's|\.c||g'`
 do
+    echo "check if test executable does exist: $BINFILE"
     [ -x "$BINFILE" ]
-    echo "check: $BINFILE executable does exist"
 
     # interactive, cannot invoke and close from command line
     #./$BINFILE

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/sdlgfx.git



More information about the pkg-sdl-commits mailing list