Skip to content

Commit e771d14

Browse files
committed
Replace packages for fedora
1 parent e1bb812 commit e771d14

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/jobs/configure-checks/all.bats

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ if [ "$distro_id" = "ID=fedora" ]; then
1111
cmd=dnf
1212
fi
1313

14+
1415
translate () {
1516
args="$@"
1617
if [ "$distro_id" = "ID=fedora" ]; then
1718
args=${args/libcgroup-dev/libcgroup-devel}
19+
args=${args/python3-sphinx-rtd-theme/python3-sphinx_rtd_theme}
20+
args=${args/texlive-latex-recommended/texlive texlive-collection-latexextra}
21+
args=${args/texlive-latex-extra/texlive texlive-collection-latexrecommended}
22+
args=${args/tex-gyre/texlive-tex-gyre}
1823
fi
1924
echo "$args"
2025
}
@@ -458,3 +463,16 @@ compile_assertions_finished () {
458463
run make judgehost
459464
assert_failure 2
460465
}
466+
467+
@test "`make distclean` cleans the state to to `make dist`" {
468+
run make dist
469+
files_before=$(find . -type f &> | sort)
470+
run run_configure
471+
files_configure=$(find . -type f &> | sort)
472+
run test "$files_before" = "$files_configure"
473+
assert_failure
474+
run make distclean
475+
files_after=$(find . -type f &> | sort)
476+
run test "$files_before" = "$files_after"
477+
assert_success
478+
}

0 commit comments

Comments
 (0)