summaryrefslogtreecommitdiffstats
path: root/contrib/atf
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-01-12 22:17:56 +0000
committerjmmv <jmmv@FreeBSD.org>2014-01-12 22:17:56 +0000
commit97eeccbbec459c522449bc9c8294eed46984d260 (patch)
tree22aeeecb119f67283293e15cc07346a666345c80 /contrib/atf
parentf630f6f40f740cb8f2ee6f8b7ca4b87afe4549ed (diff)
downloadFreeBSD-src-97eeccbbec459c522449bc9c8294eed46984d260.zip
FreeBSD-src-97eeccbbec459c522449bc9c8294eed46984d260.tar.gz
MFC r260491: Use .cpp as the extension for temporary C++ files.
Diffstat (limited to 'contrib/atf')
-rw-r--r--contrib/atf/atf-c++/detail/test_helpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/atf/atf-c++/detail/test_helpers.cpp b/contrib/atf/atf-c++/detail/test_helpers.cpp
index d13b124..dc35da9 100644
--- a/contrib/atf/atf-c++/detail/test_helpers.cpp
+++ b/contrib/atf/atf-c++/detail/test_helpers.cpp
@@ -67,14 +67,14 @@ build_check_cxx_o(const atf::tests::tc& tc, const char* sfile,
void
header_check(const char *hdrname)
{
- std::ofstream srcfile("test.c");
+ std::ofstream srcfile("test.cpp");
ATF_REQUIRE(srcfile);
srcfile << "#include <" << hdrname << ">\n";
srcfile.close();
const std::string failmsg = std::string("Header check failed; ") +
hdrname + " is not self-contained";
- build_check_cxx_o_aux(atf::fs::path("test.c"), failmsg.c_str(), true);
+ build_check_cxx_o_aux(atf::fs::path("test.cpp"), failmsg.c_str(), true);
}
atf::fs::path
OpenPOWER on IntegriCloud