[polyml] 03/07: Added upstream-polyc autopkg test

James Clarke jrtc27-guest at moszumanska.debian.org
Mon Apr 25 20:35:51 UTC 2016


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

jrtc27-guest pushed a commit to branch master
in repository polyml.

commit 846191ebec307809d870343d8bb0bf5dd0e5f127
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Mon Apr 25 20:45:21 2016 +0100

    Added upstream-polyc autopkg test
    
    This compiles upstream's test suite with polyc and runs the resulting
    executable, rather than running the test suite directly with poly.
---
 debian/tests/control        | 2 +-
 debian/tests/upstream-polyc | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/tests/control b/debian/tests/control
index 382aee2..1cd9ee3 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1 +1 @@
-Tests: upstream-poly-script
+Tests: upstream-poly-script upstream-polyc
diff --git a/debian/tests/upstream-polyc b/debian/tests/upstream-polyc
new file mode 100755
index 0000000..49368ac
--- /dev/null
+++ b/debian/tests/upstream-polyc
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+set -u
+OUT="$ADTTMP/upstream"
+polyc "debian/tests/upstream.sml" -o "$OUT"
+"$OUT"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/polyml.git



More information about the debian-science-commits mailing list