Commit graph

5 commits

Author SHA1 Message Date
Hugo Osvaldo Barrera
5a152aebae
test: move all tests into separate module (MR 2551)
When installing pmboostrap, all tests are installed alongside it. There
doesn't seem to be any way to selectively exclude some files inside
python modules, so move all test into a separate module instead.

This is the typical convention in python projects.

See: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/79862
Fixes: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2541
2025-02-13 01:28:20 +01:00
Newbyte
871a3128d8
docs, pmb: Add missing copyright headers (MR 2516)
I tried my best to get the right author based on git commit history, but
in the case of code being moved from one file to make another I might
have gotten something wrong.
2025-01-02 16:45:03 +01:00
Caleb Connolly
cefe98fb69
test: aportgen: test deviceinfo fastboot content (MR 2477) (MR 2483)
Add some tests to ensure that we spit out correct deviceinfo options for
boot images of header v0, 2, and 3.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-11-29 16:50:04 +01:00
Oliver Smith
7b5487dad8
Revert "test: aportgen: test deviceinfo fastboot content (MR 2477)" (MR 2482)
This caused a regression in CI tests.
This reverts commit 6ee82740a4.

Related: issue 2497
2024-11-10 17:23:00 +01:00
Caleb Connolly
6ee82740a4
test: aportgen: test deviceinfo fastboot content (MR 2477)
Add some tests to ensure that we spit out correct deviceinfo options for
boot images of header v0, 2, and 3.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-11-08 01:57:26 +01:00