gambit doesn't disable reading of gambcext while running tests
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It seems that gambit doesn't disable reading of gambcext while running tests. My gambcext does (load "~~/syntax-case"). Without gambcext tests run fine, but when syntax-case is loaded, the following happens: make[1]: Entering directory `/var/tmp/portage/dev-scheme/gambit-4.0_beta22/work/gambc-4.0b22/tests' - ------------ TEST 1 (debugging support) LD_LIBRARY_PATH=../lib: ../gsi/gsi -f debug.scm > test1.out diff test1.ok test1.out && rm -f test1.out - ------------ TEST 2 (error handling) LD_LIBRARY_PATH=../lib: ../gsi/gsi -:h4000 -f error.scm < error.scm > test2.out *** ERROR IN ##gen-glo-ref -- Heap overflow make[1]: *** [test2] Error 70 make[1]: Leaving directory `/var/tmp/portage/dev-scheme/gambit-4.0_beta22/work/gambc-4.0b22/tests' make: *** [check] Error 2 Marijn -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGRF9pp/VmCx0OL2wRAv11AKC3D4hyl+JNirZayXzP1dcHTephZACeLTkC 5on7DPabNJINKonMLE5C4Mo= =IvJN -----END PGP SIGNATURE-----
Afficher les réponses par date
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11-May-07, at 8:19 AM, Marijn Schouten (hkBst) wrote:
It seems that gambit doesn't disable reading of gambcext while running tests. My gambcext does (load "~~/syntax-case"). Without gambcext tests run fine, but when syntax-case is loaded, the following happens:
There are two files that can be used to extend Gambit: ~~/gambcext.scm the site-wide extension file gambcini.scm the user or directory specific initialization file The file ~~/gambcext.scm is where permanent extensions (and patches) to the runtime system are to be put. By design the interpreter cannot avoid loading this file. To solve the problem you are having just put the (load "~~/syntax- case") in the file gambcini.scm (in your $HOME or in your work directory). The "-f" option to gsi will avoid loading gambcini.scm . Marc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFGRGve//V9Zc2T/v4RApyqAKCFq/d7KdOn37I0pcWuB+BEcZGW5wCeM6m2 e/2ZwA82leqVWZaiMCqkytg= =seZG -----END PGP SIGNATURE-----
participants (2)
-
Marc Feeley -
Marijn Schouten (hkBst)