Do Compiler Testing Frameworks Exist?

Status
Not open for further replies.

Bhelyer

Well-known member
2,231
By which I mean something that handles testing an executable that processes text files, so it would handle running it on all the files and collating the results etc. I have my own little thing that I'm preparing to rewrite, but no need to reinvent the wheel. I can only seem to find traditional unit testing frameworks and things that produce random (but valid) source code. Both interesting and valuable, but not what I'm looking for.

EDIT

http://www.ace.nl/compiler/supertest.html

That's specific to C and C++, but it does fit the topic, just not my requirements.

http://www.gnu.org/software/greg/

That's more along the lines of what I want. It's written in guile and hasn't been touched in 12 years.

http://www.fnal.gov/docs/working-groups ... suite.html

I'd like it to be cross platform, so using a *nix shell is annoying and it hasn't been updated in 14 years.
 

Bhelyer

Well-known member
2,231
ShuggyCoUk":258mlp7j said:
The hard work is in creating meaningful unit tests. Running them and collating the results is basically trivial in comparison.

indeed.

I rather liked Eric Lippert's excellent series on how to generate every program there is

Good luck doing that with C++ though :)

Looks interesting, thanks for the link. I now have ~10 more tabs open. :D
 
Status
Not open for further replies.