From eff0f2e83f7e66cf8ec00d39f516990427e56ee1 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 14 Dec 2022 09:24:01 +0100 Subject: [PATCH] fix RTDS IP unit test Signed-off-by: Steffen Vogel --- fpga/include/villas/fpga/node.hpp | 3 ++- fpga/tests/unit/rtds.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fpga/include/villas/fpga/node.hpp b/fpga/include/villas/fpga/node.hpp index c0171be2b..a6db4d613 100644 --- a/fpga/include/villas/fpga/node.hpp +++ b/fpga/include/villas/fpga/node.hpp @@ -183,6 +183,7 @@ virtual } private: + // Get a VLNV identifier for which this IP / Node type can be used. virtual Vlnv getCompatibleVlnv() const { @@ -193,7 +194,7 @@ private: Core* make() const { return new T; - }; + } }; } /* namespace ip */ diff --git a/fpga/tests/unit/rtds.cpp b/fpga/tests/unit/rtds.cpp index 02b2e3bb7..512209f30 100644 --- a/fpga/tests/unit/rtds.cpp +++ b/fpga/tests/unit/rtds.cpp @@ -46,12 +46,12 @@ Test(fpga, rtds, .description = "RTDS") { auto logger = villas::logging.get("unit-test:rtds"); - std::list rtdsIps; + std::list rtdsIps; std::list dmaIps; for (auto &ip : state.cards.front()->ips) { if (*ip == villas::fpga::Vlnv("acs.eonerc.rwth-aachen.de:user:rtds_axis:")) { - auto rtds = reinterpret_cast(ip.get()); + auto rtds = reinterpret_cast(ip.get()); rtdsIps.push_back(rtds); }