mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 10:27:53 +02:00
Fixed ut_runner
- Implict macros were not disabled as they should - This revealed that DRC scripts could not run with -rx
This commit is contained in:
@@ -368,12 +368,12 @@ main_cont (int argc, char **argv)
|
||||
// No side effects
|
||||
lay::set_klayout_path (std::vector<std::string> ());
|
||||
|
||||
int ac = 2;
|
||||
static char av0[] = "unit_test";
|
||||
static char av1[] = "-z"; // don't show main window
|
||||
static char av2[] = "-nc"; // No configuration file
|
||||
static char av3[] = "-rx"; // No mplicit macros
|
||||
char *av[] = { av0, av1, av2, av3, 0 };
|
||||
int ac = sizeof (av) / sizeof (av[0]) - 1;
|
||||
lay::Application app (ac, av, false);
|
||||
|
||||
app.ruby_interpreter ().push_console (&console);
|
||||
|
||||
Reference in New Issue
Block a user