File tree Expand file tree Collapse file tree
.github/jobs/configure-checks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -458,3 +458,26 @@ compile_assertions_finished () {
458458 run make judgehost
459459 assert_failure 2
460460}
461+
462+ @test " ` make distclean` cleans the state to state of ` make dist` " {
463+ run make dist
464+
465+ # Cleanup of all configure created files
466+ files_before=$( find . -type f | sort)
467+ run run_configure
468+ files_configure=$( find . -type f | sort)
469+ refute_equal " $files_before " " $files_configure "
470+ run make distclean
471+ files_after=$( find . -type f | sort)
472+ assert_equal " $files_before " " $files_after "
473+
474+ # Cleanup of all configure + make targets files
475+ files_before=$( find . -type f | sort)
476+ run run_configure
477+ run make domserver judgehost docs
478+ files_make_targets=$( find . -type f | sort)
479+ refute_equal " $files_before " " $files_make_targets "
480+ run make distclean
481+ files_after=$( find . -type f | sort)
482+ assert_equal " $files_before " " $files_after "
483+ }
You can’t perform that action at this time.
0 commit comments