summaryrefslogtreecommitdiffstats
path: root/tests/012/compile.tl
blob: d0c4913e2b89a2ef7bf60499206c2f0d509c18ca (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 ashwin circ cont defset except \
             fini ifa man-or-boy oop-mi oop-seq oop \
             parse syms quasi quine seq stslot const"))
  (let ((exf `@{%this-dir%}/@f.expected`))
    (when (path-exists-p exf)
      (file-append-string %expected-file%
                          (file-get-string exf))))
  (compile-file `@f.tl` "temp.tlo")
  (remove-path "temp.tlo"))