Add autopkgtests which run the upstream testsuite against the system cmake.

ci/unstable
Felix Geyer 9 years ago
parent 20e463128f
commit 55b1b64fe3

1
debian/changelog vendored

@ -3,6 +3,7 @@ cmake (3.3.1-2) UNRELEASED; urgency=medium
* Set the team mailing list as maintainer. * Set the team mailing list as maintainer.
* Add a stage1 build profile that disables building cmake-qt-gui. * Add a stage1 build profile that disables building cmake-qt-gui.
(Bug: #738161) (Bug: #738161)
* Add autopkgtests which run the upstream testsuite against the system cmake.
-- Felix Geyer <fgeyer@debian.org> Sat, 22 Aug 2015 19:09:55 +0200 -- Felix Geyer <fgeyer@debian.org> Sat, 22 Aug 2015 19:09:55 +0200

@ -0,0 +1,7 @@
Tests: testsuite
Restrictions: allow-stderr
Depends: cmake, @builddeps@
Tests: testsuite-ninja
Restrictions: allow-stderr
Depends: cmake, ninja-build, @builddeps@

@ -0,0 +1,11 @@
#!/bin/sh
set -e
SRCDIR="$(pwd)"
cd $ADTTMP
cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin $SRCDIR
make VERBOSE=1
CTEST_OUTPUT_ON_FAILURE=1 make test ARGS="-E CTestTestUpload -E BootstrapTest"

@ -0,0 +1,11 @@
#!/bin/sh
set -e
SRCDIR="$(pwd)"
cd $ADTTMP
cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin -GNinja $SRCDIR
ninja -v
CTEST_OUTPUT_ON_FAILURE=1 ctest -E CTestTestUpload -E BootstrapTest
Loading…
Cancel
Save