pacman/test/makepkg/meson.build
Christoph Reiter 64cb213213 tests: add some tests for makepkg
This adds some git source related regression tests for #142 and #143.
Creates temporary git repos and PKGBUILDs and builds packages.

This requires git to be available and since makepkg refuses to be
run as root, the tests fail if run as root.
2024-05-19 21:26:47 +02:00

9 lines
274 B
Meson

find_program('git', required: true)
test('makepkg-build-git-head-twice',
find_program('makepkg-build-git-head-twice.sh'),
env: TEST_ENV)
test('makepkg-checkout-dir-matches-branch',
find_program('makepkg-checkout-dir-matches-branch.sh'),
env: TEST_ENV)