Use new guile_embedded_run target or guile_run target for running the examples like the other target languages (for suppressing stdout if run from top level). Consistency with other target language file renames: use runme.scm for scripts and example.i, example.c for example code. Add class example to examples being tested.
13 lines
260 B
Text
13 lines
260 B
Text
Matrix example. To run the example, execute the program 'matrix' and
|
|
type the following :
|
|
|
|
(load "runme.scm")
|
|
(do-test 0)
|
|
|
|
Alternatively, use the command-line:
|
|
|
|
./matrix -e do-test -s runme.scm
|
|
|
|
Or, if your operating system is spiffy enough:
|
|
|
|
./runme.scm
|