aboutsummaryrefslogtreecommitdiff
path: root/dejagnu.h
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-05-06 16:22:20 +0000
committerRob Savoye <rob@welcomehome.org>2001-05-06 16:22:20 +0000
commitee37e3e22012ecee8b3d1d243378ce19a03689e3 (patch)
tree008acffabe6121789ecdc575da9aa8beee9565c6 /dejagnu.h
parentca94f15320ca1c1bd31020459f4751ab512b217c (diff)
downloaddejagnu-ee37e3e22012ecee8b3d1d243378ce19a03689e3.zip
dejagnu-ee37e3e22012ecee8b3d1d243378ce19a03689e3.tar.gz
dejagnu-ee37e3e22012ecee8b3d1d243378ce19a03689e3.tar.bz2
* debian/rules: Install all the doc formats.dejagnu-1.4.1-release
* redhat/dejagnu.spec: Install all the doc formats. * Clean.tcl: Also nuke all Emacs backup files. * Makefile.am: Fix dependencies on tarball target. Add new target to build Debian packages. Add $(includedir) to install-data-local target so dejagnu.h gets installed in the right place. * doc/Makefile.am: Make all paths absolute, cause some versions of the db2* tools are braindead. * doc/overview.sgml: Update version numbers and log. * doc/user.sgml: Add mention of dejagnu.h header file. * doc/ref.sgml: Add chapter on dejagnu.h header file for unit testing. * config/default.exp: New file for default config settings for simple native testsuites that don't need anything else. * lib/dejagnu.exp: Add $text\r\n to all strings, to make sure we only get one line at a time. * testsuite/libdejagnu: New directory for dejagnu library test cases. * testsuite/libdejagnu/unit.cc: Test case for dejagnu.h. * testsuite/libdejagnu/tunit.exp: Test driver for dejagnu.h. * testsuite/libdejagnu/Makefile.am: New makefile to build the test case. * testsuite/libdejagnu/Makefile.in: Generated. * testsuite/Makefile.am: Add libdejagnu to SUBDIRS. Replace the site.exp rule, cause we don't want the $tool setting, so we run all the test suites. Don't pass the tool name for "make check". * configure.in: Add testsuite/libdejagnu/Makefile to AC_OUTPUT.
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 ;
}