* src/gnc-module/test/test-scm-multi: turned into guile script

invoked via /bin/sh.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5908 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning
2001-11-17 21:55:27 +00:00
parent 52440b8872
commit 69fd796103
+17 -10
View File
@@ -1,11 +1,18 @@
#! /bin/sh
guile -c "(use-modules (gnucash gnc-module))
(gnc:module-system-init)
(gnc:module-load \"gnucash/foo\" 0)
(foo:hello)
(foo:scheme-hello)
(gnc:module-load \"gnucash/bar\" 0)
(foo:hello)
(foo:scheme-hello)
(bar:hello)
(bar:scheme-hello)"
exec guile -s $0 "$@"
!#
(use-modules (gnucash gnc-module))
(gnc:module-system-init)
(gnc:module-load "gnucash/foo" 0)
(foo:hello)
(foo:scheme-hello)
(gnc:module-load "gnucash/bar" 0)
(foo:hello)
(foo:scheme-hello)
(bar:hello)
(bar:scheme-hello)
;; Local Variables:
;; mode: scheme
;; End: