source: project/release/4/stalin/trunk/tests/run.scm @ 30352

Last change on this file since 30352 was 30352, checked in by Mario Domenech Goulart, 7 years ago

stalin (tests): Handle both salmonella and "chicken-install -test" when invoking the external program chicken-stalin

See http://wiki.call-cc.org/eggref/4/salmonella#testing-executable-files-installed-by-eggs

File size: 302 bytes
Line 
1;;;; run.scm - trivial test
2
3(use setup-api files posix)
4
5(define stalin
6  (make-pathname
7   (if (get-environment-variable "SALMONELLA_RUNNING")
8       #f ;; salmonella adds its REPO_PREFIX/bin to PATH
9       (program-path))
10   "chicken-stalin"))
11
12(run (,stalin -On -k -d1 hello.scm))
13(run (./hello))
14
Note: See TracBrowser for help on using the repository browser.