Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/atf/dist Mark atf/atf-c/macros_test/detect_unus...



details:   https://anonhg.NetBSD.org/src/rev/e7ba7d753dac
branches:  trunk
changeset: 805873:e7ba7d753dac
user:      gson <gson%NetBSD.org@localhost>
date:      Thu Jan 22 12:33:35 2015 +0000

description:
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 f59f9fec05b0 -r e7ba7d753dac external/bsd/atf/dist/atf-c++/macros_test.cpp
--- a/external/bsd/atf/dist/atf-c++/macros_test.cpp     Thu Jan 22 08:35:05 2015 +0000
+++ b/external/bsd/atf/dist/atf-c++/macros_test.cpp     Thu Jan 22 12:33:35 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 f59f9fec05b0 -r e7ba7d753dac external/bsd/atf/dist/atf-c/macros_test.c
--- a/external/bsd/atf/dist/atf-c/macros_test.c Thu Jan 22 08:35:05 2015 +0000
+++ b/external/bsd/atf/dist/atf-c/macros_test.c Thu Jan 22 12:33:35 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