aboutsummaryrefslogtreecommitdiff
path: root/dejagnu.h
diff options
context:
space:
mode:
Diffstat (limited to 'dejagnu.h')
-rw-r--r--dejagnu.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/dejagnu.h b/dejagnu.h
index 214d3ff..7d6c7f7 100644
--- a/dejagnu.h
+++ b/dejagnu.h
@@ -16,9 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* This is the include generated by configuring */
-#include <config.h>
-
#ifndef __DEJAGNU_H__
#define __DEJAGNU_H__
@@ -188,6 +185,7 @@ class TestState {
string s = c;
unresolved (s);
}
+
void totals (void) {
cout << "\t#passed:\t\t" << passed << endl;
cout << "\t#failed:\t\t" << failed << endl;
@@ -197,6 +195,7 @@ class TestState {
cout << "\t#unresolved:\t\t" << unresolve << endl;
}
+ // This is so thjis class can be printed in an ostream.
friend ostream & operator << (ostream &os, TestState& t) {
return os << "\t" << outstate[t.laststate] << t.lastmsg ;
}