
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.
9 lines
274 B
Meson
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)
|