diff -Nru msgraph-0.2.1/debian/changelog msgraph-0.2.1/debian/changelog --- msgraph-0.2.1/debian/changelog 2024-03-21 22:58:35.000000000 +0100 +++ msgraph-0.2.1/debian/changelog 2024-03-28 14:24:01.000000000 +0100 @@ -1,3 +1,9 @@ +msgraph (0.2.1-0ubuntu2) noble; urgency=medium + + * d/tests: Add build tests as autopkgtests (LP:#2059509). + + -- Nathan Pratta Teodosio Thu, 28 Mar 2024 14:24:01 +0100 + msgraph (0.2.1-0ubuntu1) noble; urgency=medium * New upstream release diff -Nru msgraph-0.2.1/debian/clean msgraph-0.2.1/debian/clean --- msgraph-0.2.1/debian/clean 1970-01-01 01:00:00.000000000 +0100 +++ msgraph-0.2.1/debian/clean 2024-03-28 14:24:01.000000000 +0100 @@ -0,0 +1 @@ +build/ diff -Nru msgraph-0.2.1/debian/tests/control msgraph-0.2.1/debian/tests/control --- msgraph-0.2.1/debian/tests/control 1970-01-01 01:00:00.000000000 +0100 +++ msgraph-0.2.1/debian/tests/control 2024-03-28 14:14:27.000000000 +0100 @@ -0,0 +1,3 @@ +Tests: upstream-unit-tests +Depends: @, @builddeps@, ca-certificates, glib-networking +Restrictions: allow-stderr diff -Nru msgraph-0.2.1/debian/tests/upstream-unit-tests msgraph-0.2.1/debian/tests/upstream-unit-tests --- msgraph-0.2.1/debian/tests/upstream-unit-tests 1970-01-01 01:00:00.000000000 +0100 +++ msgraph-0.2.1/debian/tests/upstream-unit-tests 2024-03-28 14:23:34.000000000 +0100 @@ -0,0 +1,11 @@ +#!/bin/sh -x +printTestLog(){ + cat meson-logs/testlog.txt +} +trap printTestLog INT QUIT ABRT PIPE TERM + +echo $PWD +mkdir build && +meson build && +cd build && +meson test