From ce87b2fb3de0158e568ce25e9edcc4c0f67f14df Mon Sep 17 00:00:00 2001 From: nella Date: Mon, 21 Sep 2026 16:39:09 +0200 Subject: [PATCH] Expect abc error. --- tests/abc_new/duplicate_cell_libs.ys | 8 ++++++-- tests/abc_new/generate_mk.py | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/abc_new/duplicate_cell_libs.ys b/tests/abc_new/duplicate_cell_libs.ys index 351ead506..7590b04fb 100644 --- a/tests/abc_new/duplicate_cell_libs.ys +++ b/tests/abc_new/duplicate_cell_libs.ys @@ -1,6 +1,9 @@ # https://github.com/YosysHQ/yosys/issues/4977 -# same cell name in two liberty files: abc asserts, should be an error (#4977) +# abc names the duplicated cell before it asserts, which used to be lost in a +# stdio buffer that the abort never flushed +logger -expect log "There are two standard cells with the same name" 1 +logger -expect error "ABC" 1 read_verilog <