[Pkg-octave-commit] [SCM] Debian packaging for octave-benchmark branch, master, updated. 13d2986db1bae13eace2eff3e51e63eee881821b

Rafael Laboissiere rafael at laboissiere.net
Thu Mar 29 20:26:39 UTC 2012


The following commit has been merged in the master branch:
commit 13d2986db1bae13eace2eff3e51e63eee881821b
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Thu Mar 29 10:12:30 2012 +0200

    debian/check.m: Add file for unit testing

diff --git a/debian/check.m b/debian/check.m
new file mode 100644
index 0000000..d2b2815
--- /dev/null
+++ b/debian/check.m
@@ -0,0 +1,11 @@
+### This file exercises all the benchmark_* functions that are in the
+### "public API" of the benchmark package.
+
+tests = {"dtmm", "index", "intmath", "permute", "stmm"};
+
+for i = 1 : length (tests)
+    f = tests {i};
+    disp (sprintf ("[%s]", f))
+    eval (sprintf ("benchmark_%s", f))
+endfor
+

-- 
Debian packaging for octave-benchmark



More information about the Pkg-octave-commit mailing list