[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] mk/git-package.mk: Improve check if update of Git archive is necessary
Am 14.03.2022 um 10:50 schrieb Mateusz Poszwa:
On Mon, Mar 14, 2022 at 09:14:06AM +0100, Roland Illig wrote:
If you want, you can have a try at the tests yourself, but I admit that
it's a bit difficult to understand all the test setup and their details.
Is this documented? I have no experience with tests in
pkgsrc, so some guidance would certainly help me get started.
No, these tests are not documented anywhere.
There is a testing framework in pkgtools/pkg_regress with the
corresponding tests in regress/*, but these cannot be used for
pkgsrc-wip as the tests have to live in regress/* in main pkgsrc. This
framework is documented at
There are also Kyua and ATF, which are used for the pkgsrc
infrastructure in mk/, but I don't know whether there is any conceptual
documentation on how these frameworks are used within pkgsrc.
For the SCM tests in pkgsrc-wip I decided to write a separate
"framework" since I didn't want to put each test case into a separate
directory. These tests can be run as standalone shell programs as well
as via Kyua.
I added a small introduction to mk/tests/test.subr today, please tell me
if you need more or just edit it to your needs.
Main Index |
Thread Index |