debian-forge/test
David Rheinsberg 7dcc946fe2 test: add F32 manifests and a manifest-preprocessor
This adds F32 manifests in ./test/data/. To avoid magically deducing the
package list out of the void, this adds a ManifestPreProcessor (MPP)
called `./tools/mpp-depsolve.py`. What this does is it takes a manifest
on stdin, modifies it, and produces a manifest on stdout.

The `mpp-depsolve.py` preprocessor takes a manifest and modifies all the
`org.osbuild.rpm` stages. It parses a new option to that stage called
`mpp-depsolve`, which contains a package-list, a repo-list, and dnf
metadata. It then drops this `mpp-depsolve` option (since it would be an
invalid manifest otherwise), depsolves the packages, inserts a proper
"packages" option as well as appends the correct paths to the sources
entry.

With this in place, this adds `mpp-f32-base.json` and
`mpp-f32-build.json` in ./test/data/manifests/. These will then be used
as base F32 manifests for our test-suite.

Lastly, this adds `./test/data/README.md` as a place to document the
files we place in `./test/data/`, since most of the files do not allow
for comments.
2020-05-20 18:54:38 +02:00
..
data test: add F32 manifests and a manifest-preprocessor 2020-05-20 18:54:38 +02:00
mod test: convert os-release-tests to test-data 2020-05-13 14:26:05 +02:00
pipelines test: fix freq, passno types everywhere 2020-05-06 15:42:23 +02:00
run sources: pass the library dir to the sources 2020-05-20 14:43:33 +02:00
sources_tests/org.osbuild.files sources: add org.osbuild.files source 2020-02-06 19:01:12 +01:00
src test: integrate pylint into the test infrastructure 2020-05-13 14:26:05 +02:00
stages_tests test/stages/groups: fix gid to be a number 2020-05-06 15:42:23 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
osbuildtest.py test: avoid shadowing globals 2020-04-20 18:58:26 +02:00
test.py test: add tree-diff accessor 2020-05-20 14:44:43 +02:00
test_assemblers.py test: convert to new osbuild executor 2020-05-20 14:44:43 +02:00
test_boot.py test: convert to new osbuild executor 2020-05-20 14:44:43 +02:00
test_objectstore.py objectstore: extract remove_tree() 2020-04-21 14:46:02 +02:00
test_osbuild.py test/osbuild: add checks for Schema class 2020-05-06 15:42:23 +02:00
test_stageinfo.py test: make ast check pylint conforming 2020-04-20 18:58:26 +02:00
test_stages.py test: convert to new osbuild executor 2020-05-20 14:44:43 +02:00