1.0.9.10: make tests clean up after themselves a bit better
authorNikodemus Siivola <nikodemus@random-state.net>
Wed, 29 Aug 2007 15:26:32 +0000 (15:26 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Wed, 29 Aug 2007 15:26:32 +0000 (15:26 +0000)
* Delete various temporary files (still some left).

* Also add test/test-status.lisp-expr to .gitignore.

.gitignore
tests/foreign-stack-alignment.impure.lisp
tests/stream.impure.lisp
tests/threads.impure.lisp
version.lisp-expr

index ebf73d0..138c98d 100644 (file)
@@ -22,6 +22,7 @@ src/runtime/target-arch-os.h
 src/runtime/target-arch.h
 src/runtime/target-lispregs.h
 src/runtime/target-os.h
+tests/test-status.lisp-expr
 tools-for-build/grovel-headers
 contrib/*/test-passed
 contrib/*/foo.c
index 3900f60..c678e22 100644 (file)
@@ -75,4 +75,7 @@
   (assert (= *good-offset* (trampoline (alien-lambda int ()
                                        (stack-alignment-offset *required-alignment*))))))
 
+(delete-file "stack-alignment-offset")
+(delete-file "stack-alignment-offset.so")
+
 ;;;; success!
index f91b159..bc069b7 100644 (file)
         (type-error (condition)
           (assert (eql (type-error-datum condition) (code-char 255)))
           (assert (subtypep (type-error-expected-type condition)
-                            '(signed-byte 8))))))))
+                            '(signed-byte 8)))))))
+  (delete-file pathname))
 \f
 ;;; Check WRITE-SEQUENCE signals a TYPE-ERROR when the stream can't
 ;;; write a sequence element.
       (type-error (condition)
         (assert (= (type-error-datum condition) -1))
         (assert (subtypep (type-error-expected-type condition)
-                          '(unsigned-byte 8)))))))
+                          '(unsigned-byte 8))))))
+  
+  (delete-file pathname))
 
 ;;; writing looong lines. takes way too long and way too much space
 ;;; to test on 64 bit platforms
index eb4fe5a..dd2544c 100644 (file)
  :search t)
 (sb-alien:load-shared-object "threads-foreign.so")
 (sb-alien:define-alien-routine loop-forever sb-alien:void)
-
+(delete-file "threads-foreign.c")
 
 ;;; elementary "can we get a lock and release it again"
 (let ((l (make-mutex :name "foo"))
index 0cee396..e91bf0f 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.9.9"
+"1.0.9.10"