kayuri/HNC — Issue #9: File-based tests for optimizer
Author: nponeccop
Created: 2011-10-08 12:10:01+00:00
State: open

Implement tests for optimizer (foo.hn and foo-o.hn pairs) in the spirit of existing tests (foo.hn and foo.cpp pairs).

Suggested implementation:

* old tests still run on both unoptimized and optimized `.hn` files
* new tests run for all files ending with `-o.hn`: For each `$x-o.hn` file check if it is the result of optimizing corresponding `$x.hn` file.

See `Test.Compiler` for ideas.