mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-01 13:39:30 +00:00
Fix building and running unit tests (#5374)
* Fix building and running unit tests * Enable unit tests * Add gtest always * test-sanitizers.yml: Use makefile.conf * proper test setup * make it run on macOS * Run libyosys build only for unit tests after testing is done * Disable LTO on public CI --------- Co-authored-by: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com>
This commit is contained in:
parent
b586043647
commit
fcc3d7132d
8 changed files with 53 additions and 13 deletions
|
@ -20,6 +20,9 @@ namespace RTLIL {
|
|||
KernelRtlilTest() {
|
||||
if (log_files.empty()) log_files.emplace_back(stdout);
|
||||
}
|
||||
virtual void SetUp() override {
|
||||
IdString::ensure_prepopulated();
|
||||
}
|
||||
};
|
||||
|
||||
TEST_F(KernelRtlilTest, ConstAssignCompare)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue