[Pkg-octave-commit] [SCM] octave-nan branch, master, updated. acce97f871eeb975d30677b7d3acb488b4203835

Thomas Weber tweber at debian.org
Sat Oct 2 21:58:48 UTC 2010


The following commit has been merged in the master branch:
commit 9f8fcd962d22c5c3ad6c1cbf8c4c9678df66c1ac
Author: Thomas Weber <tweber at debian.org>
Date:   Sat Oct 2 23:41:44 2010 +0200

    Run provided test files where possible

diff --git a/debian/changelog b/debian/changelog
index 55bd9aa..30b212c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+octave-nan (2.3.1-2) UNRELEASED; urgency=low
+
+  * Run test suite via debian/check.m
+
+ -- Thomas Weber <tweber at debian.org>  Sat, 02 Oct 2010 23:40:52 +0200
+
 octave-nan (2.3.1-1) experimental; urgency=low
 
   * New upstream version (closes: 595811)
diff --git a/debian/check.m b/debian/check.m
new file mode 100644
index 0000000..632b0fe
--- /dev/null
+++ b/debian/check.m
@@ -0,0 +1,20 @@
+# run the tests in the test directory (that is, files that start with 'test_'
+# only run tests that do not require network access for downloading files
+cd test
+
+# No for-loop, as the test files call clean()
+file = 'test_mex_accuracy.m';
+disp(['Testing ', file]);
+source(file);
+
+file = 'test_train_sc.m';
+disp(['Testing ', file]);
+source(file);
+
+%file = 'test_xptopen.m';
+%disp(['Testing ', file]);
+%source(file);
+
+file = 'test_xval.m';
+disp(['Testing ', file]);
+source(file);

-- 
octave-nan



More information about the Pkg-octave-commit mailing list