diff --git a/unittest/vslib/Makefile.am b/unittest/vslib/Makefile.am index 48b908295eef..26dc9b0ba49d 100644 --- a/unittest/vslib/Makefile.am +++ b/unittest/vslib/Makefile.am @@ -27,7 +27,9 @@ tests_SOURCES = main.cpp \ TestResourceLimiter.cpp \ TestResourceLimiterContainer.cpp \ TestResourceLimiterParser.cpp \ - TestSaiUnittests.cpp + TestSaiUnittests.cpp \ + TestSelectableFd.cpp \ + TestSignal.cpp tests_CXXFLAGS = $(DBGFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS_COMMON) tests_LDADD = $(LDADD_GTEST) $(top_srcdir)/vslib/libSaiVS.a -lhiredis -lswsscommon -lnl-genl-3 -lnl-nf-3 -lnl-route-3 -lnl-3 \ diff --git a/unittest/vslib/TestSignal.cpp b/unittest/vslib/TestSignal.cpp new file mode 100644 index 000000000000..44c90583b35f --- /dev/null +++ b/unittest/vslib/TestSignal.cpp @@ -0,0 +1,12 @@ +#include "Signal.h" + +#include + +using namespace saivs; + +TEST(Signal, notifyOne) +{ + Signal s; + + s.notifyOne(); +}