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/atf-report Handle xfail in a few more ...
details: https://anonhg.NetBSD.org/src/rev/1de90f4fbc3b
branches: trunk
changeset: 755747:1de90f4fbc3b
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jun 18 16:13:56 2010 +0000
description:
Handle xfail in a few more places. Found by, la la la, the new tests.
diffstat:
external/bsd/atf/dist/atf-report/atf-report.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r 877eaef7855f -r 1de90f4fbc3b external/bsd/atf/dist/atf-report/atf-report.cpp
--- a/external/bsd/atf/dist/atf-report/atf-report.cpp Fri Jun 18 16:13:16 2010 +0000
+++ b/external/bsd/atf/dist/atf-report/atf-report.cpp Fri Jun 18 16:13:56 2010 +0000
@@ -154,6 +154,9 @@
} else if (tcr.get_state() == atf::tests::tcr::skipped_state) {
str += m_tpname + ", " + m_tcname + ", skipped, " +
tcr.get_reason();
+ } else if (tcr.get_state() == atf::tests::tcr::xfail_state) {
+ str += m_tpname + ", " + m_tcname + ", xfail, " +
+ tcr.get_reason();
} else
UNREACHABLE;
(*m_os) << str << std::endl;
@@ -425,6 +428,9 @@
} else if (s == atf::tests::tcr::skipped_state) {
(*m_os) << "<skipped>" << elemval(tcr.get_reason())
<< "</skipped>" << std::endl;
+ } else if (s == atf::tests::tcr::xfail_state) {
+ (*m_os) << "<xfail>" << elemval(tcr.get_reason())
+ << "</xfail>" << std::endl;
} else
UNREACHABLE;
(*m_os) << "</tc>" << std::endl;
Home |
Main Index |
Thread Index |
Old Index