Making changes to the Makefiles has been difficult and revealed minor
issues with even the simplest of changes. Having a test that compares the
Makefile variables to a "known good" set, and being able to compare the
kernel spec file to a "known good" spec file will help with testing future
I have chosen these 4 ARK commits to test with because they result in different
versioning in the variables and the kernel specfile:
78e36f3b := 5.17.0 merge window (5.16 + additional changes before -rc1)
2585cf9d := 5.16-rc5
df0cc57e := 5.16
fce15c45 := 5.16-rc5 + 2 additional commits
This changeset provides a better "dist-dump-variables" test that also
compares the resulting spec files. The test code does introduce two new
Makefile.variables entries both of which are clearly marked as unstable.
The genspec.sh change is minor, and is just a reorganization of the code
to speed up the creation of test files.
As indicated in the last commit, changelog generation is not yet tested.
That will come at a later date. Additional tests beyond these tests will
also be added at a later date.
Signed-off-by: Prarit Bhargava firstname.lastname@example.org