[Pkg-sdl-commits] [sdlgfx] 01/02: Fixes to tests

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Fri Jun 30 22:20:48 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-8
in repository sdlgfx.

commit e967b32391f8c2ce8726415c47a5f6d0d6ec9c65
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Sat Jul 1 00:14:40 2017 +0200

    Fixes to tests
---
 debian/changelog                      | 1 +
 debian/tests/compile-libsdl-gfx-test0 | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2124739..01f4a42 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ sdlgfx (2.0.25-8) UNRELEASED; urgency=medium
 
   * d/tests/control: depend on the -doc package, the one containing the
     examples to compile and test
+  * Fixes to tests
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Thu, 29 Jun 2017 22:03:09 +0200
 
diff --git a/debian/tests/compile-libsdl-gfx-test0 b/debian/tests/compile-libsdl-gfx-test0
index c750c61..d9ea587 100644
--- a/debian/tests/compile-libsdl-gfx-test0
+++ b/debian/tests/compile-libsdl-gfx-test0
@@ -23,9 +23,11 @@ make
 echo "build: OK"
 
 # check/execute
-for executable in `echo *.cpp | sed 's|\.cpp||g'`
+for BINFILE in `echo *.c | sed 's|\.c||g'`
 do
-    [ -x $BINFILE ]
+    [ -x "$BINFILE" ]
+    echo "check: $BINFILE executable does exist"
+
     # interactive, cannot invoke and close from command line
     #./$BINFILE
 done

-- 
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