summaryrefslogtreecommitdiffstats
path: root/tests/012/compile.tl
blob: f5b260cf6693c479d9e013e0501487c739b3e465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(defparml %this-dir% (dir-name *load-path*))
(defparml %expected-file% `@(m^ #/.*[.]/ *load-path*)expected`)

(file-put-string %expected-file% "")

(each ((f '#"aseq.tl ashwin.tl circ.tl cont.tl defset.tl except.tl \
             fini.tl ifa.tl man-or-boy.tl oop-mi.tl oop-seq.tl oop.tl \
             parse.tl quasi.tl quine.tl seq.tl stslot.tl"))
  (let ((exf `@{%this-dir%}/@(m^ #/.*[.]/ f)expected`))
    (when (path-exists-p exf)
      (file-append-string %expected-file%
                          (file-get-string exf))))
  (compile-file f "temp.tlo")
  (remove-path "temp.tlo"))