gnucash/libgnucash/gnc-module/test
Geert Janssens d35eabd636 Prevent autocompilation of the guile test scripts
There were several issues:
- we store the compiled test*.go files in a tests subdirectory, but this is not
  on the GUILE_LOAD_COMPILED_PATH. Added this directory to the path.
- guile was looking for 'script.scm.go' while we create 'script.go'. This is due
  to how we invoke the scripts: guile -l path-to-script.scm -c (something)
  we can replace this with -l path-to-script (without extension) as -l won't add
  the extension. So I've rewrittin the test command to invoke (load-from-path).
- the test modules foo.scm, bar.scm and baz.scm should go in tests/gnucash
  as they are defined as modules (gnucash foo), (gnucash bar) and (gnucash baz)
  respectively.
- find html.scm/go on the load path instead of using a relative path.
2019-05-25 10:09:12 +02:00
..
misc-mods Lowercase cmake commands 2018-05-03 23:18:15 +02:00
mod-bar Prevent autocompilation of the guile test scripts 2019-05-25 10:09:12 +02:00
mod-baz Prevent autocompilation of the guile test scripts 2019-05-25 10:09:12 +02:00
mod-foo Prevent autocompilation of the guile test scripts 2019-05-25 10:09:12 +02:00
CMakeLists.txt Build or link all Scheme test files into a directory "tests". 2019-05-25 10:09:07 +02:00
README Restructure the src directory 2017-08-10 18:45:00 +02:00
test-agedver.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
test-dynload.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
test-gnc-module-load-deps.scm Build or link all Scheme test files into a directory "tests". 2019-05-25 10:09:07 +02:00
test-gnc-module-load-scm.scm Build or link all Scheme test files into a directory "tests". 2019-05-25 10:09:07 +02:00
test-gnc-module-scm-dynload.scm Convert shell-executed scheme tests to run directly from Guile. 2017-11-07 15:04:16 -08:00
test-gnc-module-scm-init.scm Build or link all Scheme test files into a directory "tests". 2019-05-25 10:09:07 +02:00
test-gnc-module-scm-module.scm Build or link all Scheme test files into a directory "tests". 2019-05-25 10:09:07 +02:00
test-gnc-module-scm-multi.scm Build or link all Scheme test files into a directory "tests". 2019-05-25 10:09:07 +02:00
test-gnc-module-swigged-c.scm Build or link all Scheme test files into a directory "tests". 2019-05-25 10:09:07 +02:00
test-incompatdep.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
test-load-c.c Rename the gnc-module test libraries to be consistent with other modules. 2018-02-18 16:07:25 -08:00
test-modsysver.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00

gnc-module tests:
 test-gwrapped-c.c: load a gnc-module from Scheme and test gwrapped fns
 test-load-c.c: load a gnc-module from C
 test-load-deps.{c,scm}: load a module that depends on another module 
 test-load-scm.scm: basic module load test from Scheme
 test-scm-module.c: add a Scheme module load to the init fn and make sure 
                    the symbols are visible 
 test-scm-multi.{c,scm}: load multiple gnc-modules from Scheme 


gnc-module support files:
 mod-{foo,bar,baz}/: sample modules for testing