debian-forge-composer/internal
Alexander Todorov 7ce08bc788 tests: Make sure TestMain cleans up after itself
os.Exit() doesn't execute defer-ed functions, OTOH we call panic()
in case of setup errors, which does run defer-ed functions. So move
the actual test setup and execution in a separate function which will
execute all defer-ed functions and return the exit code from the
test suite to TestMain.
2020-04-27 11:53:45 +02:00
..
blueprint tests: add coverage for internal/blueprint/customizations.go 2020-03-31 16:47:00 +02:00
client tests: Make sure TestMain cleans up after itself 2020-04-27 11:53:45 +02:00
common common: drop unused image types 2020-04-03 08:46:50 +02:00
compose compose/ImageBuild: drop the distro field 2020-03-24 14:13:03 +01:00
crypt crypt_test: don't run on macOS 2020-04-09 13:21:30 +02:00
distro change the format of the ami image type to vhdx 2020-04-24 15:27:39 +02:00
jsondb jsondb: don't use error wrapping (%w) 2020-04-09 15:18:58 +02:00
mocks internal: pass architecture from the APIs to dnf-json 2020-03-24 20:45:30 +01:00
osbuild distro: harcode partuuids 2020-04-15 15:22:57 +02:00
rcm store: create compose id from PushCompose 2020-04-01 00:29:13 +02:00
rpmmd dnf-json: set metadata_expire 2020-04-11 19:14:02 +02:00
store vendor: add github.com/stretchr/testify/suite 2020-04-24 11:46:13 +02:00
target target: pass the image filename in each target 2020-03-22 22:26:09 +01:00
test tests: Use the require/assert package and replace cmp.Diff 2020-04-19 18:20:57 +02:00
upload change the format of the ami image type to vhdx 2020-04-24 15:27:39 +02:00
weldr tests: Use the require/assert package and replace cmp.Diff 2020-04-19 18:20:57 +02:00
worker worker: rename API to Server 2020-04-16 01:02:16 +02:00