Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/external/bsd/atf/dist Pull up following revision(s) (requ...



details:   https://anonhg.NetBSD.org/src/rev/c8bbf8bce332
branches:  netbsd-7
changeset: 798926:c8bbf8bce332
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 30 07:53:15 2015 +0000

description:
Pull up following revision(s) (requested by gson in ticket #471):
        external/bsd/atf/dist/atf-c++/macros_test.cpp: revision 1.2
        external/bsd/atf/dist/atf-c/macros_test.c: revision 1.5
Mark atf/atf-c/macros_test/detect_unused_tests and
atf/atf-c++/macros_test/detect_unused_tests as expected failures
when using versions of GCC where they are known to fail, with a
reference to PR toolchain/49187.

diffstat:

 external/bsd/atf/dist/atf-c++/macros_test.cpp |  4 ++++
 external/bsd/atf/dist/atf-c/macros_test.c     |  4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diffs (28 lines):

diff -r 26d51029133c -r c8bbf8bce332 external/bsd/atf/dist/atf-c++/macros_test.cpp
--- a/external/bsd/atf/dist/atf-c++/macros_test.cpp     Thu Jan 29 15:15:40 2015 +0000
+++ b/external/bsd/atf/dist/atf-c++/macros_test.cpp     Fri Jan 30 07:53:15 2015 +0000
@@ -783,6 +783,10 @@
         expect_fail("Compiler does not raise a warning on an unused "
                     "static global variable declared by a macro");
 
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
+        expect_fail("PR 49187");
+#endif
+
     if (build_check_cxx_o_srcdir(*this, "unused_test.cpp"))
         ATF_FAIL("Build of unused_test.cpp passed; unused test cases are "
                  "not properly detected");
diff -r 26d51029133c -r c8bbf8bce332 external/bsd/atf/dist/atf-c/macros_test.c
--- a/external/bsd/atf/dist/atf-c/macros_test.c Thu Jan 29 15:15:40 2015 +0000
+++ b/external/bsd/atf/dist/atf-c/macros_test.c Fri Jan 30 07:53:15 2015 +0000
@@ -863,6 +863,10 @@
         atf_tc_expect_fail("Compiler does not raise a warning on an unused "
                            "static global variable declared by a macro");
 
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
+        atf_tc_expect_fail("PR 49187");
+#endif
+
     if (build_check_c_o_srcdir(tc, "unused_test.c"))
         atf_tc_fail("Build of unused_test.c passed; unused test cases are "
                     "not properly detected");



Home | Main Index | Thread Index | Old Index