summaryrefslogtreecommitdiffstats
path: root/contrib/atf/atf-c++/macros_test.cpp
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-11-01 11:17:54 +0000
committerjmmv <jmmv@FreeBSD.org>2014-11-01 11:17:54 +0000
commit120021745eb3a1c1b24fdc54769f808151deb621 (patch)
tree7e1f2a559f61d17aad44cfb95b6fefcaa593c4af /contrib/atf/atf-c++/macros_test.cpp
parent595e4e5bc797fd4a63eb344ae9df352db666a94d (diff)
parent3b6cf63a5c1f2de80b3b7fdd30eab1717f5c9407 (diff)
downloadFreeBSD-src-120021745eb3a1c1b24fdc54769f808151deb621.zip
FreeBSD-src-120021745eb3a1c1b24fdc54769f808151deb621.tar.gz
MFV: Import atf-0.21.
Diffstat (limited to 'contrib/atf/atf-c++/macros_test.cpp')
-rw-r--r--contrib/atf/atf-c++/macros_test.cpp22
1 files changed, 9 insertions, 13 deletions
diff --git a/contrib/atf/atf-c++/macros_test.cpp b/contrib/atf/atf-c++/macros_test.cpp
index 4113ed0..23b5e5c 100644
--- a/contrib/atf/atf-c++/macros_test.cpp
+++ b/contrib/atf/atf-c++/macros_test.cpp
@@ -1,6 +1,3 @@
-//
-// Automated Testing Framework (atf)
-//
// Copyright (c) 2008 The NetBSD Foundation, Inc.
// All rights reserved.
//
@@ -25,7 +22,8 @@
// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//
+
+#include "atf-c++/macros.hpp"
extern "C" {
#include <fcntl.h>
@@ -37,14 +35,14 @@ extern "C" {
#include <iostream>
#include <stdexcept>
-#include "macros.hpp"
-#include "utils.hpp"
+#include <atf-c++.hpp>
-#include "detail/fs.hpp"
-#include "detail/process.hpp"
-#include "detail/sanity.hpp"
-#include "detail/test_helpers.hpp"
-#include "detail/text.hpp"
+#include "atf-c++/detail/fs.hpp"
+#include "atf-c++/detail/process.hpp"
+#include "atf-c++/detail/sanity.hpp"
+#include "atf-c++/detail/test_helpers.hpp"
+#include "atf-c++/detail/text.hpp"
+#include "atf-c++/utils.hpp"
// ------------------------------------------------------------------------
// Auxiliary functions.
@@ -757,7 +755,6 @@ ATF_TEST_CASE_BODY(require_errno)
// Tests cases for the header file.
// ------------------------------------------------------------------------
-HEADER_TC(include, "atf-c++/macros.hpp");
BUILD_TC(use, "macros_hpp_test.cpp",
"Tests that the macros provided by the atf-c++/macros.hpp file "
"do not cause syntax errors when used",
@@ -809,7 +806,6 @@ ATF_INIT_TEST_CASES(tcs)
ATF_ADD_TEST_CASE(tcs, require_errno);
// Add the test cases for the header file.
- ATF_ADD_TEST_CASE(tcs, include);
ATF_ADD_TEST_CASE(tcs, use);
ATF_ADD_TEST_CASE(tcs, detect_unused_tests);
}
OpenPOWER on IntegriCloud