[arrayfire] 01/04: Fixup autopkgtest testsuite.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Dec 1 16:44:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.
commit 8d887c310b14605961f67030a4f8711ba6adf96b
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Dec 1 15:58:00 2015 +0000
Fixup autopkgtest testsuite.
---
debian/tests/{test-build-examples => build-examples} | 10 ++++++++--
debian/tests/control | 8 ++++++--
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/debian/tests/test-build-examples b/debian/tests/build-examples
similarity index 67%
rename from debian/tests/test-build-examples
rename to debian/tests/build-examples
index 0d873f4..41e1d7e 100755
--- a/debian/tests/test-build-examples
+++ b/debian/tests/build-examples
@@ -13,7 +13,13 @@ then
exit 1
fi
-cp -a /usr/share/doc/libarrayfire-doc/examples "$ADTTMP"
+# Copy example source code.
+cp -a /usr/share/doc/libarrayfire-doc/examples/* "$ADTTMP"
cd "$ADTTMP"
-cmake ./examples
+
+# Configure and build.
+mkdir build && cd build
+cmake ./..
+echo "configure: OK"
make
+echo "build: OK"
diff --git a/debian/tests/control b/debian/tests/control
index 4fa7fad..6793bdb 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,6 @@
-Tests: test-build-examples
-Depends: cmake, libarrayfire-cpu-dev, libarrayfire-doc
+Tests: build-examples
+Depends: build-essential,
+ cmake,
+ libarrayfire-cpu-dev,
+ libarrayfire-doc
+Restrictions: allow-stderr
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list