aboutsummaryrefslogtreecommitdiff
path: root/dejagnu.h
AgeCommit message (Collapse)AuthorFilesLines
2022-11-28Remove wait() function in dejagnu.h to resolve PR59586Jacob Bachmeyer1-32/+4
2022-11-28Add UNSUPPORTED test result to DejaGnu unit test protocolJacob Bachmeyer1-2/+33
2022-11-26Fix miscounting of expected failures in C unit test APIJacob Bachmeyer1-2/+4
2022-11-26Add explicit end-of-test marker to DejaGnu unit test protocolJacob Bachmeyer1-0/+2
2018-12-04 * dejagnu.h (TestState): Remove const char * variants ofBen Elliston1-36/+0
pass(), xpass(), fail(), xfail(), untested(), unresolved() for C++. A const char * will be implicitly converted to std::string.
2016-06-22 * configure.ac, dejagnu.h, runtest, runtest.exp,Bernhard Reutner-Fischer1-1/+1
baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp, baseboards/arm-ice.exp, baseboards/arm-sid.exp, baseboards/arm-sim.exp, baseboards/basic-sid.exp, baseboards/basic-sim.exp, baseboards/cris-sim.exp, baseboards/d30v-sim.exp, baseboards/fr30-sim.exp, baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp, baseboards/i386-sid.exp, baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp, baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp, baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp, baseboards/mips-sim-mti64_64.exp, baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp, baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp, baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp, baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp, baseboards/mt-sid.exp, baseboards/multi-sim.exp, baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp, baseboards/rx-sim.exp, baseboards/sh-sid.exp, baseboards/sh-sim.exp, baseboards/sparc-sim.exp, baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp, baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp, baseboards/unix.exp, baseboards/v850-sim.exp, baseboards/visium-sim.exp, baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp, lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp, lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp, testsuite/config/default.exp, testsuite/lib/libsup.exp, testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp, testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp, testsuite/runtest.all/stats-sub.exp, testsuite/runtest.all/stats.exp, config/adb.exp, config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp, config/sim.exp, config/unix.exp, config/vxworks.exp: Update copyright date for 2016. Signed-off-by: Ben Elliston <bje@gnu.org>
2016-06-22 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,Bernhard Reutner-Fischer1-2/+1
baseboards/arm-ice.exp, baseboards/arm-sid.exp, baseboards/arm-sim.exp, baseboards/basic-sid.exp, baseboards/basic-sim.exp, baseboards/cris-sim.exp, baseboards/d30v-sim.exp, baseboards/fr30-sim.exp, baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp, baseboards/generic-sim.exp, baseboards/i386-sid.exp, baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp, baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp, baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp, baseboards/mn10300-sim.exp, baseboards/mt-sid.exp, baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp, baseboards/rx-sim.exp, baseboards/sh-sid.exp, baseboards/sh-sim.exp, baseboards/sparc-sim.exp, baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp, baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp, baseboards/unix.exp, baseboards/v850-sim.exp, baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp, lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp, testsuite/config/default.exp, testsuite/lib/libsup.exp, testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp, testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp, testsuite/runtest.all/options.exp, testsuite/runtest.all/stats-sub.exp, testsuite/runtest.all/stats.exp, config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp, config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac, dejagnu.h, runtest, runtest.exp: Use condensed years in copyright statement. Signed-off-by: Ben Elliston <bje@gnu.org>
2014-10-24 * dejagnu.h (pass): Make function static as well as inline.Steve Ellcey1-8/+8
(xpass): Ditto. (fail): Ditto. (xfail): Ditto. (untested): Ditto. (unresolved): Ditto. (note): Ditto. (totals): Ditto. Signed-off-by: Ben Elliston <bje@gnu.org>
2011-03-14 * dejagnu.h: Whitespace cleanups.Ben Elliston1-52/+52
2011-03-03Upgrade to GPL version 3.Ben Elliston1-1/+1
2008-04-07* dejagnu.h (totals): Correct typos.Ben Elliston1-2/+2
2006-10-15 * dejagnu.h: Add support for for expected failures andRob Savoye1-4/+68
unexpected successes.
2006-06-06 * dejagnu.h: Tidy comments.Ben Elliston1-30/+17
(_BUFFER_SIZE_): Remove to minimise namespace pollution. (wait): Define this function unconditionally. Conditionally compile the function body if _DEJAGNU_WAIT_ is defined. (buffer): Set the buffer size explicitly. (pass): Use sizeof (buffer). Call wait() unconditionally. (fail, untested, unresolved, note): Likewise. (enum teststate): Tidy whitespace.
2006-01-01 * dejagnu.h: Update copyright notice. Use C-style /* .. */Ben Elliston1-19/+20
comments for portability with ISO C compilers. * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
2006-01-01 * config/default.exp, config/unix.exp, config/vxworks.exp,Ben Elliston1-3/+3
lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp, lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp: Formatting fixes. * dejagnu.h, testsuite/config/default.exp, testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp, testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp, testsuite/runtest.all/options.exp, testsuite/runtest.all/stats-sub.exp, testsuite/runtest.all/stats.exp: Update copyright notice and FSF office address. Remove bug reporting address, as it is now maintained centrally in the README file.
2004-02-06 * dejagnu.h: Conform with GNU coding standard.Ben Elliston1-160/+132
2003-08-17More trailing whitespace fixes.Ben Elliston1-5/+5
2002-08-30Slowly working towards the next release...Rob Savoye1-1/+1
2002-06-06Wed Jun 5 14:52:15 PDT 2002 Joey Ekstrom <joey@ekstrom.org>Rob Savoye1-10/+88
* dejagnu.h: modfied C functions to behave like printf. * dejagnu.h: added wait() to fix problem with host_execute() in dejagnu.exp where if skips failed, untested, etc. messages from the executable.
2001-11-01Oops, typo in "unresolve". Removed the 'd'.Rob Savoye1-1/+1
2001-07-302001-07-30 Paul A. Houghton <houghton@wcomnet.com>Rob Savoye1-1/+3
* dejagnu.h, testsuite/libdejagnu/unit.cc: Make the oustate array be a const to work with Sun's compiler.
2001-05-30 * dejagnu.h: Remove the iostream headers, so now we have noRob Savoye1-0/+2
conditional compilation problems with libstdc++-v3 or v2.
2001-05-30 * acinclude.m4(DJ_AC_STL): Also useRob Savoye1-15/+8
AC_LANG_CPLUSPLUS so we build this test case with G++. * aclocal.m4, configure: Regenerated. * dejagnu.h: Don't use testout(), have each method print the array value directly, which is much simpler. * acinclude.m4(DJ_AC_STL): s/for for/for/. * dejagnu.h: Add conditional support for sstream. (testout): Likewise. Make return type `const'.
2001-05-26 * acinclude.m4: Add DJ_AC_STL, which figures out if we're runningRob Savoye1-27/+30
libstdc++ version 2 or 3. * aclocal.m4: Regenerated. * configure.in: Add DJ_AC_STL. * configure: Regenerated. * dejagnu.h: Add the use of the std namespace, so we work with libstdc++ version 2 or 3. * testsuite/libdejagnu/unit.cc: Use setbuf() or pubsetbuff(), depending on the version.
2001-05-06 * debian/rules: Install all the doc formats.dejagnu-1.4.1-releaseRob Savoye1-3/+2
* 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.
2001-04-12 * Clean.tcl: Add -r to rm, so it gets rid of CVS directories.Rob Savoye1-0/+215
* .clean: Don't install the debian or redhat packaging directories. * Makefle.am: Install dejagnu.h. Fix dist2 target, so we build our own tarballs, instead of letting automake do it for us. * examples/cala/Makefile.am: Use noist_PROGRAMS, so calc doesn't get installed. * doc/Makefile.am: Install the man page for runtest. * configure.in: Make VERSION 1.4.0, not just 1.4, so distributions get built right. * lib/dejagnu.exp: Test driver for embedded DejaGnu API. * dejagnu.h: Embedded DejaGnu API main header file. * config/default.exp: Default tool init file for simple test suites.