3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-09 09:21:58 +00:00

Fix building and running unit tests

This commit is contained in:
Miodrag Milanovic 2025-09-22 15:44:33 +02:00
parent e546f3b8f0
commit d4e3bfc265
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
GTESTFLAG := -lgtest -lgtest_main
RPATH := -Wl,-rpath
EXTRAFLAGS := -lyosys -pthreads
EXTRAFLAGS := -lyosys -pthread
OBJTEST := objtest
BINTEST := bintest

View file

@ -385,7 +385,7 @@ namespace RTLIL {
TEST_P(WireRtlVsHdlIndexConversionTest, WireRtlVsHdlIndexConversion) {
std::unique_ptr<Module> mod = std::make_unique<Module>();
Wire *wire = mod->addWire(ID(test), 10);
Wire *wire = mod->addWire(NEW_ID, 10);
auto [upto, start_offset, width] = GetParam();