File: makecheck.tst

package info (click to toggle)
gap-guava 3.13%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,692 kB
  • ctags: 1,493
  • sloc: ansic: 20,869; xml: 10,231; makefile: 268; sh: 71
file content (27 lines) | stat: -rw-r--r-- 839 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## debian/tests/makecheck.tst -- GAP Test script
## script format: GAP Reference Manual subsection 7.9.2 Test (GAP 4r8)
##
## inspired by `AvailabilityTest' in `PackageInfo.g'
gap> AdHocAvailabilityTest :=
> function()
>   local path, answer;
>   answer := true;
>   path := DirectoriesPackagePrograms( "guava" );
>   if ForAny( ["desauto", "leonconv", "wtdist"],
>       f -> Filename( path, f ) = fail
>       ) then
>     Print( "#I  Cannot find at least one of the C code programs.\n" );
>     answer := false;
>   fi;
>   return answer;
> end;;
gap> TestPackageAvailability( "guava" , "=3.13" , true );
"/usr/share/gap/pkg/guava"
gap> AdHocAvailabilityTest();
true
gap> TestPackage( "guava" );
#I  No errors detected while testing package guava version 3.13
#I  using the test file `/usr/share/gap/pkg/guava/tst/guava.tst'

##
## eos