-
Notifications
You must be signed in to change notification settings - Fork 266
Extend autoconf tests #2975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Extend autoconf tests #2975
Conversation
223665f
to
8a60b1b
Compare
8a60b1b
to
a6668ba
Compare
The PR should be fine without the Not sure why https://github.com./DOMjudge/domjudge/actions/runs/14092975984/job/39473975481#step:4:1010 fails, @eldering shouldn't it find the target because of the Makefile.global? Other files also don't have an explicit dependency for distclean to depend on clean so what is it complaining about? |
It uses wwwrun (or www group), it's added as last so it shouldn't fail our normal installs.
9e26204
to
9538de9
Compare
sphinx-build adds it's own Makefile which we need to work around or we can decide to just remove all dirs. This would also remove custom files someone might have put there.
It's always run before every testcase, which makes that we would always install certain tools which breaks the tests where we assume to not have those tools.
Bats testing now works from another directory
We'll need to start with multiple clean images in future tests so we now skip certain tests to keep a "clean" image for certain tests and test in other matrix jobs. The intent was to both extend the tests and test with different distrobutions: - Alpine fails on running bats, - Fedora has issues with building `runpipe` so fails on `make judgehost` - Arch needs another package manager to install certain libraries (so is left for another PR). - OpenSUSE lacks some libraries. The pre-work is already done to start using those images. make clean should remove what was created by make all make distclean should remove what was created by configure (plus what make clean does)
bbc03f5
to
5f873f8
Compare
This tries to split tests where extra packages get installed to different runs.
It does add some small improvements to the configure script to make testing easier.