rui314 / 8cc

A Small C Compiler
MIT License
6.13k stars 740 forks source link

Test suite single file tests #59

Open andrewchambers opened 9 years ago

andrewchambers commented 9 years ago

It would be nice if the test suite had a place for self contained bug files which have no output and return zero or nonzero for pass or failure respectively. We could name the files by issue number, or include issue descriptions in the files themselves. Being able to ignore expected failures with a comment would be nice too.

Doing this means we can refactor the normal test suite to not include ugly and obscure failures.

andrewchambers commented 9 years ago

I don't mind implementing this myself, as long as you are fine with it.