#include #include #include #include #include #include //#include int main( int argc, char *argv[] ) { PROPERTY_MANAGER& propMgr = PROPERTY_MANAGER::Instance(); propMgr.Rebuild(); auto brd = KI_TEST::ReadBoardFromFileOrStream(argv[1]); test::DRC_ENGINE drcEngine( brd.get(), &brd->GetDesignSettings() ); try { drcEngine.LoadRules( wxString( argv[2] ) ); } catch( PARSE_ERROR& err ) { printf("Exception %s\n", (const char*) err.What().c_str() ); } drcEngine.RunTests(); return 0; }