testFront.cpp

Go to the documentation of this file.
00001 /*==============================================================================
00002  * FILE:       testFront.cc
00003  * OVERVIEW:   Command line test of the Frontend and related classes.
00004  *============================================================================*/
00005 /*
00006  * $Revision: 1.5 $
00007  * 08 Apr 02 - Mike: Created
00008  * 23 May 02 - Mike: Added pentium tests
00009  */
00010 
00011 
00012 #include "cppunit/TextTestResult.h"
00013 #include "cppunit/TestSuite.h"
00014 
00015 #include "FrontSparcTest.h"
00016 #include "FrontPentTest.h"
00017 //#include "FrontendTest.h"
00018 #include "prog.h"
00019 #include <iostream>
00020 
00021 int main(int argc, char** argv)
00022 {
00023     CppUnit::TestSuite suite;
00024 
00025 //  FrontSparcTest fst("FrontSparcTest");
00026 //    FrontendTest fet("FrontendTest");
00027 //  FrontPentTest fpt("FrontPentTest");
00028     FrontPentTest fSt("FrontPentTest");
00029 
00030 //  fst.registerTests(&suite);
00031 //  fpt.registerTests(&suite);
00032     fSt.registerTests(&suite);
00033 
00034     CppUnit::TextTestResult res;
00035 
00036     prog.readLibParams();        // Read library signatures (once!)
00037     suite.run( &res );
00038     std::cout << res << std::endl;
00039 
00040     return 0;
00041 }
00042 

Generated on Tue Sep 19 21:18:35 2006 for Boomerang by  doxygen 1.4.6