37 wxFileName dir = wxFileName::DirName( wxStandardPaths::Get().GetTempDir() );
38 dir.AppendDir( wxString::Format( wxS(
"import_design_rules-qa-%lu" ), wxGetProcessId() ) );
39 dir.Mkdir( wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL );
41 wxFileName board( dir.GetPath(), wxEmptyString, wxS(
"kicad_pcb" ) );
42 wxFileName hidden( dir.GetPath(), wxEmptyString, wxS(
"kicad_dru" ) );
45 BOOST_CHECK( !hidden.FileExists() );
bool SaveImportedDesignRules(const wxString &aRules, const wxFileName &aBoardPath, REPORTER &aReporter)
Save the custom rules an importer derived beside the board it produced.