[med-svn] [praat] 05/07: Add autopkgtest testsuite

Rafael Laboissiere rafael at debian.org
Wed Oct 4 04:39:53 UTC 2017


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

rafael pushed a commit to branch master
in repository praat.

commit 6102183e1fbe9fb180c86cb4f17739e56897a69a
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Tue Oct 3 13:28:13 2017 -0300

    Add autopkgtest testsuite
    
    For now, just a simple Praat script for reading a test WAV file is
    included.  Further unit test will be eventually included in the
    future.
    
    Gbp-Dch: Full
---
 debian/source/include-binaries      |   1 +
 debian/tests/control                |   1 +
 debian/tests/data/test.wav          | Bin 0 -> 84 bytes
 debian/tests/script/read-sound-file |   1 +
 4 files changed, 3 insertions(+)

diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..a317de5
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1 @@
+debian/tests/data/test.wav
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1968509
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Test-Command: praat_nogui --run debian/tests/script/read-sound-file
diff --git a/debian/tests/data/test.wav b/debian/tests/data/test.wav
new file mode 100644
index 0000000..fa64a89
Binary files /dev/null and b/debian/tests/data/test.wav differ
diff --git a/debian/tests/script/read-sound-file b/debian/tests/script/read-sound-file
new file mode 100644
index 0000000..b256534
--- /dev/null
+++ b/debian/tests/script/read-sound-file
@@ -0,0 +1 @@
+Read from file... ../data/test.wav

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/praat.git



More information about the debian-med-commit mailing list