File: testquick.g

package info (click to toggle)
gap-hap 1.74%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 58,664 kB
  • sloc: xml: 16,678; sh: 197; javascript: 155; makefile: 121; ansic: 47; perl: 24
file content (24 lines) | stat: -rw-r--r-- 855 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LoadPackage( "hap" );

dirs := [
    DirectoriesPackageLibrary( "hap", "tst/testall1" ),
    DirectoriesPackageLibrary( "hap", "tst/testall2" ),
    DirectoriesPackageLibrary( "hap", "tst/testextra" ),
    DirectoriesPackageLibrary( "hap", "tst/testextra2" ),
];

#if StartsWith(GAPInfo.Architecture,"x86_64-pc-linux-gnu-default64") then
if GAPInfo.BytesPerVariable >= 8 then
  Add(dirs, DirectoriesPackageLibrary( "hap", "tst/testall3" ));

# if (GAPInfo.Version{[1..4]}="4.11" or GAPInfo.Version{[1..4]}="4.12") then
  if CompareVersionNumbers(ReplacedString(GAPInfo.Version, "dev", ""), "4.11") then
    Add(dirs, DirectoriesPackageLibrary( "hap", "tst/testallV11" ));
  fi;
fi;

TestDirectory(dirs,
rec(exitGAP     := true,
    testOptions := rec(compareFunction := "uptowhitespace") ) );

FORCE_QUIT_GAP(1); # if we ever get here, there was an error