Clean up compiled test files to force recompiling.

This commit is contained in:
Vincent St-Amour 2012-02-16 11:36:21 -05:00
parent 084278fabc
commit aa85692436
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,8 @@
#;
(
TR opt: multi-file2.rkt 12:10 (+ 3 5) -- fixnum bounded expr
TR opt: multi-file2.rkt 12:3 (* 3.4 (+ 3 5)) -- binary float
TR missed opt: multi-file1.rkt 12:2 (* x (ann 3 Integer)) -- all args float-arg-expr, result not Float -- caused by: 12:12 3
TR opt: multi-file2.rkt 13:10 (+ 3 5) -- fixnum bounded expr
TR opt: multi-file2.rkt 13:3 (* 3.4 (+ 3 5)) -- binary float
81.6
)

View File

@ -21,7 +21,9 @@
(parameterize
([current-namespace (make-base-empty-namespace)]
[current-load-relative-directory dir])
(dynamic-require f #f)))))
(dynamic-require f #f))
;; clean up compiled files in prevision of the next testing run
(delete-directory/files (build-path dir "compiled")))))
;; we log optimizations and compare to an expected log to make sure that all
;; the optimizations we expected did indeed happen