3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-07 19:51:23 +00:00

tests: Add bugpoint to MK_TEST_DIRS

Also change `-err_grep` to `-err-grep` for consistency with `-expect-return`.
This commit is contained in:
Krystine Sherwin 2025-05-16 14:12:38 +12:00
parent 65a5227c14
commit ded51e7622
No known key found for this signature in database
4 changed files with 8 additions and 3 deletions

View file

@ -77,7 +77,7 @@ struct BugpointPass : public Pass {
log(" -runner \"<prefix>\"\n");
log(" child process wrapping command, e.g., \"timeout 30\", or valgrind.\n");
log("\n");
log(" -err_grep \"<string>\"\n");
log(" -err-grep \"<string>\"\n");
log(" only consider crashes that print this string on stderr. useful for\n");
log(" errors outside of yosys.\n");
log("\n");
@ -474,7 +474,7 @@ struct BugpointPass : public Pass {
grep = args[++argidx];
continue;
}
if (args[argidx] == "-err_grep" && argidx + 1 < args.size()) {
if (args[argidx] == "-err-grep" && argidx + 1 < args.size()) {
has_check = true;
check_err = true;
err_grep = args[++argidx];