Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Dec 14, 2024
1 parent 7230f48 commit a14d055
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/jobs/configure-checks/all.bats
Original file line number Diff line number Diff line change
Expand Up @@ -404,39 +404,3 @@ compile_assertions_finished () {
run make judgehost
assert_success
}

@test "Build domserver disabled" {
if [ "$distro_id" = "ID=fedora" ]; then
# Fails as libraries are not found
skip
fi
setup
run run_configure --disable-domserver-build
refute_line " * domserver...........: /opt/domjudge/domserver"
for group in www-data apache nginx; do
refute_line " * webserver group.....: $group"
done
assert_line " * judgehost...........: /opt/domjudge/judgehost"
assert_line " * runguard group......: domjudge-run"
run make domserver
assert_failure
run make judgehost
assert_success
}

@test "Build judgehost disabled" {
if [ "$distro_id" = "ID=fedora" ]; then
# Fails as libraries are not found
skip
fi
setup
run run_configure --disable-judgehost-build
assert_line " * domserver...........: /opt/domjudge/domserver"
assert_regex "^ \* webserver group\.\.\.\.\.: (www-data|apache|nginx)$"
refute_line " * judgehost...........: /opt/domjudge/judgehost"
refute_line " * runguard group......: domjudge-run"
run make domserver
assert_success
run make judgehost
assert_failure
}

0 comments on commit a14d055

Please sign in to comment.