is CompilationTest usable?

Maurizio Vitale maurizio_vitale at verizon.net
Fri Jun 30 15:02:59 UTC 2006


I'm struggling to get qmtest do a very basic thing: traverse a  
hierarchy of testsuites and for every file matching a certain regexp  
(*.cpp in my case) compile it (linking against a library which is  
actually the artifact being tested), execute the resulting executable  
and compare its output w/ a golden result file.

While perusing the source code in order to get inspiration on how to  
write a new database and a new test, i've come across  
CompilationTest, that does most of what I need, only better than what  
I could have come up with (new to qmtest and to python). Is  
CompilationTest usable?
[it seems to me that it depends on CompilerTest, which in turns has a  
number of not-yet-implemented methods].

Does somebody has an example of how to use CompilationTest?
Or another some alternative way for doing what I've described above.

Thanks a lot,

	Maurizio




More information about the qmtest mailing list