diff options
Diffstat (limited to 'tests/012/compile.tl')
-rw-r--r-- | tests/012/compile.tl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/012/compile.tl b/tests/012/compile.tl index 36a285d3..f5b260cf 100644 --- a/tests/012/compile.tl +++ b/tests/012/compile.tl @@ -6,7 +6,9 @@ (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")) - (file-append-string %expected-file% - (file-get-string `@{%this-dir%}/@(m^ #/.*[.]/ f)expected`)) + (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")) |