mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-25 23:19:35 +00:00
Fix building and running unit tests
This commit is contained in:
parent
e546f3b8f0
commit
d4e3bfc265
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
GTESTFLAG := -lgtest -lgtest_main
|
GTESTFLAG := -lgtest -lgtest_main
|
||||||
RPATH := -Wl,-rpath
|
RPATH := -Wl,-rpath
|
||||||
EXTRAFLAGS := -lyosys -pthreads
|
EXTRAFLAGS := -lyosys -pthread
|
||||||
|
|
||||||
OBJTEST := objtest
|
OBJTEST := objtest
|
||||||
BINTEST := bintest
|
BINTEST := bintest
|
||||||
|
|
|
||||||
|
|
@ -385,7 +385,7 @@ namespace RTLIL {
|
||||||
|
|
||||||
TEST_P(WireRtlVsHdlIndexConversionTest, WireRtlVsHdlIndexConversion) {
|
TEST_P(WireRtlVsHdlIndexConversionTest, WireRtlVsHdlIndexConversion) {
|
||||||
std::unique_ptr<Module> mod = std::make_unique<Module>();
|
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();
|
auto [upto, start_offset, width] = GetParam();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue