Add a functional autopkgtest, disable three tests for now.

This commit is contained in:
Simon Quigley 2025-02-21 01:17:56 -06:00
parent be7ec3acc9
commit db735dc676
3 changed files with 11 additions and 0 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ calamares (3.3.14-0ubuntu1) UNRELEASED; urgency=medium
* Fix many Lintian errors and do some package splits.
* Update symbols from amd64 build logs.
* Update Vcs-* fields for Launchpad move.
* Add a functional autopkgtest, disable three tests for now.
-- Simon Quigley <tsimonq2@ubuntu.com> Thu, 20 Feb 2025 14:13:56 -0600

3
debian/tests/control vendored Normal file
View File

@ -0,0 +1,3 @@
Tests: main
Depends: @builddeps@
Restrictions: isolation-machine, allow-stderr

7
debian/tests/main vendored Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -ex
mkdir build && cd build &&
cmake .. -DWITH_PYBIND11=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_APPDATA=ON -DBUILD_APPSTREAM=ON -DINSTALL_COMPLETION=ON -DWITH_QT6=ON -DBUILD_TESTING=ON -DBUILD_SCHEMA_TESTING=ON &&
make -j$(nproc) &&
ctest -j$(nproc) -V -E '^(test_libcalamaresuipaste|validate-unpackfsc(-unpackfsc|-1))$'