dist"), and not the files in the repository. Only the former has
its symbols transforrmed with the "libGAP_" prefix.
- * Configure with -DSYS_DEFAULT_PATHS=<gap_root> if you want to run
- the tests, where the path has be quoted such that it ends up with
- quotation marks in C sources:
+ * For the testsuite, you need to have the gap library installed
+ somewhere. Configure/make libGAP with
+ -DSYS_DEFAULT_PATHS=<gap_root> cflags tests, where the path has be
+ quoted such that it ends up with quotation marks in C sources:
$ ./configure CFLAGS='-DSYS_DEFAULT_PATHS=\"/path/to/gap\"'
+ $ export CFLAGS='-DSYS_DEFAULT_PATHS=\"/home/vbraun/Sage/git/local/gap/latest\"'
For example, using the Gap installation in Sage:
$ ./configure CFLAGS='-DSYS_DEFAULT_PATHS=\"$SAGE_ROOT/local/gap/latest\"'
- 7. Run "make distcheck".
+ 7. Run "make distcheck" (the testsuite will fail because it does not
The tests use unescaped GAP symbols since its easier to develop. The
test/Makefile.am dist-hook rewrites them with the libGAP_ prefix. If
printf("libGAP initialization failed: %s\n", error_msg);
- AssGVar(Last, ReadEvalResult);