Volker Braun avatar Volker Braun committed 4533764

test fixes

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();
 }   
 
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.