Leo
2ed215fa32
tests(abuild): test whether pyX.Y providers work
2021-05-06 10:50:57 -03:00
Natanael Copa
5f15ae8360
tests: abuild-keygen: test PACKAGER set
2021-05-06 15:30:10 +02:00
Natanael Copa
b4816004a1
tests: abuild-keygen: create a fake git
...
test what happens when git has no user.email configured
2021-05-06 15:30:10 +02:00
Natanael Copa
6a6145b9b3
tests: improve abuild-fetch locking test
...
make sure that we cover the issue #10026
2021-05-05 17:17:54 +02:00
Natanael Copa
8aacd4783f
tests: fix abump to work without configured git user
2021-04-30 15:55:22 +02:00
Natanael Copa
57ec5043f0
tests: fix with busybox sha512sum and misc cleanups
2021-04-30 13:57:20 +02:00
Natanael Copa
f23cf180c9
tests: simplify subpkg-dep-leak
2021-04-30 11:14:49 +02:00
Kevin Daudt
cf6cd0231f
tests: verify subpkg dependencies don't influence main package
...
Subpackages can declare their own dependencies, but these should not
affect the main package.
Add a test that verifies this behaviour.
2021-04-30 10:43:09 +02:00
Natanael Copa
fe2aca3b7d
abump: check version before we build
2021-04-29 13:02:10 +02:00
Natanael Copa
1510dbf6fb
tests: add tests for abump
2021-04-29 12:45:48 +02:00
Natanael Copa
d7150a3fb1
abuild: warn if -dbg is not first in subpackages
...
fixes https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10002
2021-04-29 11:45:59 +02:00
Natanael Copa
db1950c5ce
abuild: test for duplicates when doing checksum
...
fixes https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10013
2021-04-28 13:02:28 +02:00
Natanael Copa
c9a4ddf3b4
tests: abuild: fix checksum test
...
use the correct abuild script
fixes commit e8cfedc2b3
(tests: abuild: test checksum generation)
2021-04-28 12:59:03 +02:00
Natanael Copa
a8de7b7f55
tests: add tests for SETFATTR
...
see https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10027
2021-04-28 10:57:26 +02:00
Natanael Copa
b0fb0de17c
tests: clean up src and pkg dir after tests
2021-04-28 10:48:54 +02:00
Natanael Copa
39b552751e
tests: add test for -dbg package
2021-04-28 10:44:28 +02:00
Natanael Copa
9c3427d16f
tests: add tests for abuild-keygen
2021-04-28 10:22:24 +02:00
Natanael Copa
d05dd6d9bd
tests: abuild: fix test to work with busybox sha512sum
...
busybox is picky with the spaces in the checksum file.
2021-04-20 16:34:41 +02:00
Natanael Copa
b4d975a11f
tests: add missing test for invalid filename
...
fixes commit f35f2aa859
(abuild: add test for invalid filenames)
2021-04-20 16:21:33 +02:00
Natanael Copa
77c21fab30
tests: abuild-fetch test http://
2021-04-20 13:05:09 +02:00
Natanael Copa
e2882e4371
tests: abuild-fetch: add test for file locking
...
make curl block via a fifo, so we can simulate that it is downloading.
when we want fake that curl is done with the download we write to the
fifo.
We then check that a second invocation of abuild-fetch will block til
the first one is done.
2021-04-20 12:44:38 +02:00
Natanael Copa
e8cfedc2b3
tests: abuild: test checksum generation
2021-04-20 11:37:13 +02:00
Natanael Copa
cb9ac5be89
tests: abuild-fetch: test wget fallback
...
if curl is unavailable wget should be called
2021-04-20 11:26:19 +02:00
Natanael Copa
d708a813a3
tests: add tests for abuild-fetch
2021-04-20 11:16:23 +02:00
Natanael Copa
f35f2aa859
abuild: add test for invalid filenames
...
reject filenames with newlines
fixes #10024
2021-02-04 14:44:16 +01:00
Natanael Copa
7e754436f1
tests: don't read /etc/abuild.conf
...
Host's /etc/abuild.conf may enable USE_CCACHE which will pull in ccaches
as makedepends which breaks the tests.
fixes https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10017
2021-01-07 15:21:03 +01:00
Natanael Copa
8ceca11831
==== release 3.7.0_rc1 ====
2020-10-29 15:02:23 +00:00
Natanael Copa
c3fb176f24
tests: test if build is reproducible
2020-10-29 14:47:30 +00:00
Natanael Copa
614fbc507b
tests: add test for lib64
2020-10-29 14:46:46 +00:00
Natanael Copa
5111ca5fc8
tests: clean up build packages after successful build
2020-10-29 14:46:38 +00:00
Natanael Copa
3a75c39860
tests: test for build failure
2020-10-29 13:30:30 +00:00
Natanael Copa
68baa23906
tests: add test for basic package
2020-10-29 12:04:27 +00:00
Natanael Copa
69dd828919
tests: improve test output
...
prefix each test output so its easier to see what is tested
2020-07-08 10:59:38 +02:00
Natanael Copa
84e82828ba
tests: add tests for abuild-gzsplit
...
ref #9999
2020-07-08 10:55:01 +02:00
Natanael Copa
95cd15c025
functions.sh: dont die if gcc is missing
...
abuild-sign does not use gcc.
fixes #9974
2019-11-07 16:02:47 +00:00
Natanael Copa
c486b3b4f3
allow override sharedir for testing
...
Aloow overrid sharedir with global ABUILD_SHAREDIR so we test the local
functions.sh instead of a system installed functions.sh
2019-11-07 11:42:23 +00:00
Natanael Copa
43fb2c012e
add basic tests using bats
2019-11-07 11:32:37 +00:00