1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

* tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests

have run.

	* tests/ports.test (test-file), tests/load.test (temp-dir):
	redefined using data-file-name instead of tmpnam.  the test files
	will be created in the build directory instead of /var/tmp or
	whereever tmpnam puts them.
This commit is contained in:
Gary Houston 2001-04-25 23:13:52 +00:00
parent 8acc3515a0
commit c685b42fa3
4 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,13 @@
2001-04-26 Gary Houston <ghouston@arglist.com>
* tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
have run.
* tests/ports.test (test-file), tests/load.test (temp-dir):
redefined using data-file-name instead of tmpnam. the test files
will be created in the build directory instead of /var/tmp or
whereever tmpnam puts them.
2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de> 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/symbols.c: Added some tests. * tests/symbols.c: Added some tests.

View file

@ -20,7 +20,7 @@
(use-modules (test-suite lib)) (use-modules (test-suite lib))
(define temp-dir (tmpnam)) (define temp-dir (data-file-name "load-test.dir"))
(define (create-tree parent tree) (define (create-tree parent tree)
(let loop ((parent parent) (let loop ((parent parent)

View file

@ -27,7 +27,7 @@
(newline)) (newline))
(define (test-file) (define (test-file)
(tmpnam)) (data-file-name "ports-test.tmp"))
;;;; Some general utilities for testing ports. ;;;; Some general utilities for testing ports.

View file

@ -1018,3 +1018,7 @@
;; alternatively execute every test file's code in a module of its own ;; alternatively execute every test file's code in a module of its own
(if (defined? 'x) (undefine x)) (if (defined? 'x) (undefine x))
(if (defined? 'y) (undefine y)) (if (defined? 'y) (undefine y))
(delete-file (data-file-name "tmp1"))
(delete-file (data-file-name "tmp2"))
(delete-file (data-file-name "tmp3"))