tests: avoid deprecated boost headers
And some simplifications
Change-Id: I1acec66fb4096ed03ef1793b72256cc2aafdaf78
diff --git a/tests/boost-test.hpp b/tests/boost-test.hpp
index a19590e..dbc5ceb 100644
--- a/tests/boost-test.hpp
+++ b/tests/boost-test.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2018, Regents of the University of California
+/*
+ * Copyright (c) 2014-2020, Regents of the University of California
*
* NAC library is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
@@ -24,8 +24,7 @@
#pragma GCC system_header
#pragma clang system_header
-#include <boost/concept_check.hpp>
-#include <boost/test/output_test_stream.hpp>
+#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#endif // NDN_NAC_TESTS_BOOST_TEST_HPP