Commits

Volker Braun committed 4533764

test fixes

  • Participants
  • Parent commits c39291e

Comments (0)

Files changed (2)

     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\"'
+	
+    or 
 
+        $ export CFLAGS='-DSYS_DEFAULT_PATHS=\"/home/vbraun/Sage/git/local/gap/latest\"'
+        $ ./configure
+        $ make check
+	
     For example, using the Gap installation in Sage:
 
         $ ./configure CFLAGS='-DSYS_DEFAULT_PATHS=\"$SAGE_ROOT/local/gap/latest\"'
 
          $ autoreconf -fiv
 
-  7. Run "make distcheck".
+  7. Run "make distcheck" (the testsuite will fail because it does not
+     pass CFLAGS, ignore).
 
 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);
   libgap_finish_interaction();
   libgap_set_error_handler(&error_handler);
-
-  libgap_enter();
-  AssGVar(Last, ReadEvalResult);
-  libgap_exit();
 }