Add it as a source like the rest of the gtests.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
unittest_ipaddr_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS}
check_PROGRAMS += unittest_ipaddr
-test_librbd_SOURCES = test/test_librbd.cc
+test_librbd_SOURCES = test/test_librbd.cc test/rados-api/test.cc
test_librbd_LDADD = librbd.la librados.la ${UNITTEST_STATIC_LDADD}
test_librbd_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS}
bin_DEBUGPROGRAMS += test_librbd
#include <iostream>
#include <algorithm>
-#include "rados-api/test.cc"
+#include "rados-api/test.h"
#include "common/errno.h"
using namespace std;