[med-svn] [Git][med-team/praat][master] 3 commits: Copy the lacking WAV file in d/t/run-tests instead of d/rules

Rafael Laboissiere gitlab at salsa.debian.org
Fri Jul 12 08:37:04 BST 2019



Rafael Laboissiere pushed to branch master at Debian Med / praat


Commits:
4a6e6bf1 by Rafael Laboissiere at 2019-07-11T20:38:40Z
Copy the lacking WAV file in d/t/run-tests instead of d/rules

This ensures that the unit test unicode.praat will work both during
package build time and on debian-ci.

Gbp-Dch: Full

- - - - -
27849181 by Rafael Laboissiere at 2019-07-11T20:50:36Z
d/rules: Fix whitespace

Gbp-Dch: Ignore

- - - - -
6cdef9f6 by Rafael Laboissiere at 2019-07-12T07:36:45Z
Changelog entry for version 6.0.56-2

Gbp-Dch: Ignore

- - - - -


3 changed files:

- debian/changelog
- debian/rules
- debian/tests/run-tests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+praat (6.0.56-2) unstable; urgency=medium
+
+  * Copy the lacking WAV file in d/t/run-tests instead of d/rules.
+    This ensures that the unit test unicode.praat will work both during
+    package build time and on debian-ci.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 11 Jul 2019 17:54:52 -0300
+
 praat (6.0.56-1) unstable; urgency=medium
 
   * New upstream version 6.0.56


=====================================
debian/rules
=====================================
@@ -69,8 +69,6 @@ sendpraat: sys/sendpraat.c
 		$(shell $(PKG_CONFIG) --cflags --libs gtk+-2.0)
 
 override_dh_auto_build: sendpraat praat.1 praat_nogui.1 sendpraat.1 praat-open-files.1
-	# Copy lacking file for unit test unicode.praat
-	cp debian/éééürtüéŋəü.wav test/kar
 	dh_auto_build
 	sed 's/^LIBS = /& -Wl,--as-needed /'	\
 		makefiles/makefile.defs.linux.nogui > makefile.defs
@@ -87,5 +85,5 @@ override_dh_auto_install:
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-	    PRAAT=$(CURDIR)/praat debian/tests/run-tests
+	PRAAT=$(CURDIR)/praat debian/tests/run-tests
 endif


=====================================
debian/tests/run-tests
=====================================
@@ -24,6 +24,9 @@ test_count=0
 test_ok=0
 failed=
 
+### Copy lacking file for unit test unicode.praat
+cp debian/éééürtüéŋəü.wav test/kar
+
 ### Loop over the directories in test/
 cd test
 for d in $(ls -d */) ; do



View it on GitLab: https://salsa.debian.org/med-team/praat/compare/c9ba2ced22d267d397ae0202f0ecf0d428fd29f0...6cdef9f68b0d7ba820402a975e99000d1ed3f458

-- 
View it on GitLab: https://salsa.debian.org/med-team/praat/compare/c9ba2ced22d267d397ae0202f0ecf0d428fd29f0...6cdef9f68b0d7ba820402a975e99000d1ed3f458
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190712/ae013336/attachment-0001.html>


More information about the debian-med-commit mailing list