Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions tst/testall.g
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,20 @@ if not UtilsLoadingComplete then
ReadPackage( "utils", "tst/loadall.g" );
fi;

# Create/update the testfiles containing the manual examples.
# (The "nopdf" option informs AutoDoc that it can skip generating
# PDF files, which makes this much faster)
ReadPackage( "utils", "makedoc.g" : nopdf );
tstdir:= DirectoriesPackageLibrary( "utils", "tst" );
tstfile:= Filename( tstdir[1], "utils01.tst" );
tstdir:= Filename( tstdir, "" );
if IsWritableFile( tstdir ) and
( IsWritableFile( tstfile ) or not IsExistingFile( tstfile ) ) then
# Create/update the testfiles containing the manual examples.
# (The "nopdf" option informs AutoDoc that it can skip generating
# PDF files, which makes this much faster)
ReadPackage( "utils", "makedoc.g" : nopdf );
elif not IsExistingFile( tstfile ) then
Print( "The testfiles with manual examples are missing ",
"and cannot get written.\n" );
QUIT_GAP(1);
fi;

dir := DirectoriesPackageLibrary( "utils", "tst" );
TestDirectory(dir, rec(exitGAP := true,
Expand Down