2018-08-18 17:58:08 +00:00
|
|
|
# tst/testall.g RAQ
|
2018-08-17 04:12:38 +00:00
|
|
|
|
2018-08-18 17:58:08 +00:00
|
|
|
LoadPackage( "RAQ" );
|
2018-08-17 04:12:38 +00:00
|
|
|
|
2018-08-21 20:05:02 +00:00
|
|
|
tst_path := DirectoriesPackageLibrary("RAQ", "tst");
|
|
|
|
|
|
|
|
TestDirectory(tst_path,
|
|
|
|
rec(exitGAP := false,
|
2018-08-17 04:12:38 +00:00
|
|
|
testOptions := rec(compareFunction := "uptowhitespace"))
|
|
|
|
);
|
|
|
|
|
2018-09-02 03:51:58 +00:00
|
|
|
# Now make sure the manual tests are up to date
|
|
|
|
|
|
|
|
doc_path := DirectoriesPackageLibrary("RAQ", "doc");
|
|
|
|
makedoc_file := Filename(doc_path, "makedoc.g");
|
|
|
|
|
|
|
|
RAQ_makedoc_no_quit := true;
|
|
|
|
Info(InfoRAQ, 1, "Generating RAQ documentation..\n\n");
|
|
|
|
Read(makedoc_file);
|
|
|
|
|
2018-08-21 20:05:02 +00:00
|
|
|
auto_file := Filename(tst_path, "AutoDoc_tests.g");
|
|
|
|
|
|
|
|
if auto_file <> fail then
|
|
|
|
Read(auto_file);
|
|
|
|
else
|
|
|
|
Info(InfoWarning, 1, "Warning: Cannot find AutoDoc_tests.g. Run `gap doc/makedoc.g` in the RAQ package directory.");
|
|
|
|
fi;
|