Running the test suite independently of the build

Marc Haber <[email protected]> Fri, 15 May 2026 14:09:10 +0200
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
Hi,

make check runs the test suite after a successful build. And even right 
after a successful "make", it still compiles things before doing 
testing. Make installcheck doesn't work at that stage.

Does make installcheck depend on actually having done make install 
before?

Debian's autopkgtests work by building the actual package, installing it 
the normal way like an end user would, and then running the tests 
against the installed package, calling /usr/bin/sudo etc. autopkgtest 
can run without having the package built before, and it even _usually_ 
runs from a source tree that was not build before (since our tooling 
makes a copy of the source tree and builds there).

I would love to be able to just invoke the upstream test suite as part 
of a Debian autopkgtest.

Is this maybe possible even know? Or would you want me to file an issue 
requesting that this be made possible in a future release?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers