2002-04-21 12:26:09 -04:00
|
|
|
(define-interface test-base-interface
|
2001-03-13 12:18:25 -05:00
|
|
|
(export add-test!
|
|
|
|
add-test-multiple!
|
|
|
|
test-all
|
|
|
|
test-group
|
|
|
|
test-single
|
|
|
|
test-single/args
|
|
|
|
test-summary))
|
|
|
|
|
2002-04-21 12:26:09 -04:00
|
|
|
(define-structure test-base test-base-interface
|
2001-03-13 12:18:25 -05:00
|
|
|
(open scsh
|
|
|
|
scheme
|
|
|
|
list-lib
|
|
|
|
define-record-types)
|
|
|
|
(files test-base))
|
|
|
|
|
|
|
|
(define-structure file-system-test (export)
|
|
|
|
(open scsh
|
|
|
|
scheme
|
2002-04-21 12:26:09 -04:00
|
|
|
test-base)
|
2001-03-20 09:36:54 -05:00
|
|
|
(files file-system-tests))
|
|
|
|
|
|
|
|
(define-structure process-state-test (export)
|
|
|
|
(open scsh
|
|
|
|
scheme
|
2002-04-21 12:26:09 -04:00
|
|
|
test-base)
|
2001-04-17 09:52:11 -04:00
|
|
|
(files process-state-tests))
|
|
|
|
|
|
|
|
(define-structure env-test
|
|
|
|
(export
|
|
|
|
setenv-test
|
|
|
|
getenv-test
|
|
|
|
env->alist-test
|
|
|
|
alist->env-test
|
|
|
|
alist-delete-test
|
|
|
|
alist-update-test
|
|
|
|
alist-compress-test
|
|
|
|
with-env*-test
|
|
|
|
with-total-env*-test
|
|
|
|
home-directory-test
|
|
|
|
exec-path-list-test
|
|
|
|
add-before-test
|
|
|
|
add-after-test)
|
|
|
|
(open scsh
|
|
|
|
scheme
|
2002-05-10 03:24:37 -04:00
|
|
|
thread-fluids
|
2001-04-17 09:52:11 -04:00
|
|
|
list-lib
|
|
|
|
string-lib)
|
|
|
|
(files env-test-code))
|
|
|
|
|
|
|
|
(define-structure add-env-test
|
2002-04-21 12:26:09 -04:00
|
|
|
(export)
|
2001-04-17 09:52:11 -04:00
|
|
|
(open scsh
|
|
|
|
scheme
|
2002-04-21 12:26:09 -04:00
|
|
|
test-base
|
2001-04-17 09:52:11 -04:00
|
|
|
env-test)
|
|
|
|
(files env-test-add))
|
|
|
|
|
2002-09-06 08:23:18 -04:00
|
|
|
(define-structure system-parameter-tests (export)
|
|
|
|
(open scsh
|
|
|
|
scheme
|
|
|
|
test-base)
|
|
|
|
(begin
|
|
|
|
(add-test! 'uname 'system-parameter
|
|
|
|
(lambda ()
|
|
|
|
(let ((uname-rec (uname)))
|
|
|
|
(> (string-length (uname:node-name uname-rec)) 0))))
|
|
|
|
|
|
|
|
(add-test! 'system-name 'system-parameter
|
|
|
|
(lambda ()
|
|
|
|
(> (string-length (system-name)) 0)))))
|
|
|
|
|
2003-02-25 08:20:13 -05:00
|
|
|
(define-structure strings-and-chars-test (export)
|
|
|
|
(open scheme-with-scsh
|
|
|
|
test-base)
|
|
|
|
(files strings-and-chars-test))
|
|
|
|
|
2002-04-21 12:26:09 -04:00
|
|
|
(define-structure test-all
|
|
|
|
(export test-all)
|
|
|
|
(open scheme
|
|
|
|
test-base
|
|
|
|
add-env-test
|
|
|
|
process-state-test
|
2002-09-06 08:23:18 -04:00
|
|
|
system-parameter-tests
|
2003-02-25 08:20:13 -05:00
|
|
|
file-system-test
|
|
|
|
strings-and-chars-test))
|
2002-04-21 12:26:09 -04:00
|
|
|
|
|
|
|
|
|
|
|
|