Add autopkgtests which run the upstream testsuite against the system cmake.
This commit is contained in:
parent
20e463128f
commit
55b1b64fe3
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -3,6 +3,7 @@ cmake (3.3.1-2) UNRELEASED; urgency=medium
|
||||
* Set the team mailing list as maintainer.
|
||||
* Add a stage1 build profile that disables building cmake-qt-gui.
|
||||
(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
|
||||
|
||||
|
7
debian/tests/control
vendored
Normal file
7
debian/tests/control
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
Tests: testsuite
|
||||
Restrictions: allow-stderr
|
||||
Depends: cmake, @builddeps@
|
||||
|
||||
Tests: testsuite-ninja
|
||||
Restrictions: allow-stderr
|
||||
Depends: cmake, ninja-build, @builddeps@
|
11
debian/tests/testsuite
vendored
Executable file
11
debian/tests/testsuite
vendored
Executable file
@ -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"
|
11
debian/tests/testsuite-ninja
vendored
Executable file
11
debian/tests/testsuite-ninja
vendored
Executable file
@ -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…
x
Reference in New Issue
Block a user