Age | Commit message (Collapse) | Author | Files | Lines |
|
(load_lib): Append libdirs to search_and_load_files directories.
* doc/ref.xml (load_lib): Document global variable libdirs.
* doc/dejagnu.texi: Regenerate.
* testsuite/runtest.all/load_lib.exp: New testcase.
* Makefile.am (TESTSUITE_FILES): Add new testcase.
* Makefile.in: Regenerate.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
magic "args" parameter name, as expect send_log proc accepts -- as
a leading option.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
rm", for better portability.
* config/netware.exp (${board}_load): Likewise.
* lib/dg.exp (dg-test): Likewise.
* lib/framework.exp (open_logs): Likewise.
* lib/remote.exp (standard_file): Likewise.
* runtest.exp: Likewise.
* testsuite/runtest.all/options.exp: Likewise.
|
|
* Makefile.in: Regenerate.
* testsuite/runtest.all/libs.exp: Clean up temp files on exit.
* testsuite/runtest.all/options.exp: Likewise for dbg.log.
* testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
mkdir" instead of exec'ing mkdir(1).
|
|
|
|
|
|
* Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
* Makefile.in: Regenerate.
* dejagnu.exp (host_execute): Improve regexp matching.
* testsuite/libdejagnu/unit.cc: C++ fixes.
|
|
|
|
comments for portability with ISO C compilers.
* testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
|
|
* example/calc/testsuite/calc.test/calc.exp: Likewise.
* example/calc/testsuite/config/unix.exp: Likewise.
* testsuite/libdejagnu/tunit.exp: Likewise.
* testsuite/runtest.all/libs.exp: Likewise.
* testsuite/runtest.all/options.exp: Likewise.
* testsuite/runtest.all/stats-sub.exp: Likewise.
* testsuite/runtest.all/stats.exp: Likewise.
|
|
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.
|
|
absolute, psource, prune and slay as untested procedures.
|
|
subdirectory.
|
|
(EXTRA_DIST): Add $(TESTSUITE_FILES).
(TESTSUITE_FILES): New.
(RUNTEST, RUNTESTDEFAULTFLAGS): New.
(AM_CXXFLAGS): Set.
(check_PROGRAMS): New.
(unit_SOURCES): New.
* Makefile.in: Regenerate.
* configure.ac (AC_OUTPUT): Don't output example/Makefile,
testsuite/Makefile or testsuite/libdejagnu/Makefile.
* configure: Regenerate.
* testsuite/Makefile.am: Remove.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.am: Likewise.
* testsuite/libdejagnu/Makefile.in: Likewise.
|
|
* aclocal.m4: Regenerate with aclocal 1.9.6.
* Makefile.in: Regenerate with automake 1.9.6.
* doc/Makefile.in: Likewise.
* doc/C/Makefile.in: Likewise.
* example/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.in: Likewise.
|
|
* configure: Regenerate with autoconf 2.59.
* doc/C/Makefile.am: Remove stray include.
* Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
example/Makefile.in, testsuite/Makefile.in,
testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
|
|
|
|
* configure.ac, example/Makefile.am: Add example/mathhelper.
* configure, alocal.m4, example/Makefile.in: Regenerated.
2004-04-02 Joel Sherrill <joel@OARcorp.com>
* example/mathhelper: New example for using the unit testing API.
2004-03-05 Daniel Jacobowitz <drow@mvista.com>
* lib/remote.exp (standard_spawn): Fix rsh username support.
|
|
* testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
|
|
Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
is at version 8.3 or greater.
* configure: Regenerate.
* acinclude.m4: Remove.
* aclocal.m4: Regenerate.
* Makefile.in: Likewise.
* doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
(%.dvi: %.sgml): Use $(DOCBOOK2DVI).
(%.html: %.sgml): Use $(DOCBOOK2HTML).
* doc/Makefile.in: Regenerate.
* example/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.in: Likewise.
* TODO: Update.
|
|
(DJ_AC_PATH_TCLSH): Remove unneeded invocation.
* acinclude.m4 (DJ_AC_PATH_TCLSH): Remove (unused).
(DJ_AC_STL): Likewise.
* configure: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* example/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.in: Likewise.
* TODO: Update.
|
|
* Makefile.in: Regenerate.
* testsuite/Makefile.am (CLEANFILES): Remove.
(RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
* testsuite/Makefile.in: Regenerate.
|
|
|
|
it to the testsuite/lib directory and out of users' sight.
* lib/util-defs.exp: Move from here ..
* testsuite/lib/util-defs.exp: .. to here.
* Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
* Makefile.in: Regenerate.
* testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
* testsuite/Makefile.in: Regenerate.
* doc/ref.sgml (File Map): Remove util-defs.exp.
* packaging/pkg/prototype: Update file list.
|
|
* This work eliminates the need for the special Clean.tcl script.
* Clean.tcl: Remove.
* Makefile.am (SUBDIRS): Add testsuite, example directories.
(EXTRA_DIST): Define.
(pkgdata_SCRIPTS): Add lib/*.exp files.
(DATE, TCLSH): Remove.
(configdir, config_DATA, config_SCRIPTS): Define.
(baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
(pkgdata_DATA): Likewise.
(djlibexecdir, djlibexec_SCRIPTS): Likewise.
(PKGING, PACKAGING_METAFILES): New macros.
(clean-local): Remove.
(rpm): Depend on dist.
(deb): Likewise.
(dist-hook): Remove.
(lib_dest, lib_files): Likewise.
(baseboard_dest, baseboard_files): Likewise.
(include_dest, config_dest, config_files): Likewise.
(install-data-local): Likewise.
(uninstall-local): Likewise.
(site.exp): Likewise.
* Makefile.in: Regenerate.
* testsuite/Makefile.am (all, all-am, etcetera): Remove.
(force): Likewise.
(EXTRA_DIST): Define.
(site.exp): Remove target.
* testsuite/Makefile.in: Regenerate.
* testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
(noinst_PROGRAMS): Rename from this ..
(check_PROGRAMS): .. to this.
* testsuite/libdejagnu/Makefile.in: Regenerate.
* doc/Makefile.am (man_MANS): Rename from this ..
(dist_man_MANS): .. to this.
(info_TEXINFOS): Define.
(TARGETS): Remove overview.rtf.
(EXTRA_DIST): Define.
(%.rtf: %.sgml): Remove rule.
(%.gif: %.fig): Likewise.
(%.epsi: %.eps): Likewise.
(%.eps: %.fig): Likewise.
(clean, realclean, distclean): Remove.
(install-docs): Don't install overview.rtf.
* doc/Makefile.in: Regenerate.
* doc/texinfo.tex: New file.
* example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
(check_PROGRAMS): .. to this.
(EXTRA_DIST): Add test cases and calc.1 man page.
* example/calc/Makefile.in: Regenerate.
* example/calc/aclocal.m4: Likewise.
* example/calc/configure: Likewise.
* example/calc/stamp-h.in: Remove.
* example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
(check_PROGRAMS): .. to this.
(EXTRA_DIST): Define.
* example/hello/Makefile.in: Regenerate.
* example/hello/aclocal.m4: Likewise.
* example/hello/configure: Likewise.
* example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
* example/hello/testsuite/Makefile.in: Regenerate.
|
|
* doc/Makefile.in: Likewise.
* example/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.in: Likewise.
|
|
* configure: Rebuild with Autoconf 2.59.
* acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
(DJ_AC_PATH_TCLSH): Likewise.
(DJ_AC_PATH_DOCBOOK): Likewise.
* aclocal.m4: Rebuild.
* doc/Makefile.in: Rebuild with Automake 1.8.2.
* example/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.in: Likewise.
|
|
* testsuite/runtest.all/utils.test: Fix a test for proc find which
assumed that "subsubfile1" would appear at the end of the returned
list. Adjust to use a more robust regular expression.
|
|
|
|
* Makefile.in: Regenerate.
* testsuite/libdejagnu/Makefile.in: Likewise.
|
|
|
|
|
|
|
|
(rpmspec): Likewise.
(deb): Likewise, update path to package metafiles.
(solpkg): Likewise.
(hpdepot): Likewise.
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
* example/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
(AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
* testsuite/libdejagnu/Makefile.in: Regenerate.
|
|
* lib/unix.exp: Preservce the value of LD_LIBRARY_PATH, rather
than stomp on it. This is based on a patch from Brendan Conoboy
<blc@redhat.com>.
* Most files: Update copyright dates.
2003-03-13 Mike Stump <mrs@apple.com>
* lib/dg.exp(dg-test): Add compiler flags to testcase name, to
help ensure uniqueness.
2003-03-05 Alexandre Oliva <aoliva@redhat.com>
* lib/remote.exp (standard_download, standard_upload): Support
nfsdir and nfsroot_server.
2001-11-12 Andrew Cagney <ac131313@redhat.com>
* lib/remote.exp (local_exec, standard_close): Use SHELL
background instead of tcl background to background the kill
processes. Work around problem found by Nick Duffek in older
CYGWINs. (migrated from Redhat's sources kind late, sorry)
|
|
* Makefile.in: Regenerated with automake 1.6.
* aclocal.m4: Regenerated with aclocal 1.6.
* example/hello/Makefile.in: Regenerated with automake 1.6.
* example/calc/Makefile.in: Regenerated with automake 1.6.
* missing: Update with the one from automake 1.6.
|
|
|
|
* Import files from sourceware dejagnu repository:
2002-03-15 Chris Demetriou <cgd@broadcom.com>
* baseboards/mips-sim-idt32.exp: New file.
2002-01-21 Ben Elliston <bje@redhat.com>
* baseboards/sh-sid.exp: New file.
2001-11-26 Thomas Fitzsimmons <fitzsim@redhat.com>
* baseboards/i386-sid.exp: New file.
2001-10-10 Frank Ch. Eigler <fche@redhat.com>
* config/sid.exp (set_host_info): New proc. Call it to set
gdb,nointerrupt flag to work around framework problems.
2001-08-24 Frank Ch. Eigler <fche@redhat.com>
* baseboards/basic-sid.exp (find_sid_conf): Tolerate not
finding path to pregen configuration file.
2001-02-22 Ben Elliston <bje@redhat.com>
* config/sid.exp: New file.
* baseboards/basic-sid.exp: Likewise.
* baseboards/arm-sid.exp: Likewise.
* baseboards/m32r-sid.exp: Likewise.
* baseboards/m68k-sid.exp: Likewise.
|
|
testsuite from SUBDIRS, so they don't get built via "make all".
* Makefile: All Makefiles regenerated.
* debian/changelog: Update version for 1.4.2 release.
* redhat/dejagnu.spec: Update version for 1.4.2 release.
|
|
* dejagnu.h, testsuite/libdejagnu/unit.cc: Make the oustate array
be a const to work with Sun's compiler.
|
|
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'.
|
|
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.
|
|
toggle whether Tcl script bugs in test drivers should be
propogated as an error to the shell.
* lib/dejagnu.exp: Trim off test state part of the message, so we
don't duplicate it.
|
|
* 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.
|
|
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.
|
|
want to run the testsuite once.
* example/Makefile.am: Don't run "calc" as part of check target,
cause calc is just an example.
* testsuite/Makefile.am: Use the runtest in the source tree, or
refuse to run.
|
|
* debian/control: Fix problem with "no binary package" error.
* debian/rules: Fix so things actually build a package. This was
mostly installing the new html version of the doc, not an info
page.
* doc/Makefile.am: Build and install the rtf and ps versions
of the manual. Remove all the created files and subdirectories.
* doc/overview.sgml: Update the copyright message.
* doc/ref.sgml: Update the copyright messages. Add section on
obtaining DejaGnu releases.
* doc/user.sgml: Update the copyright messages. Add blurb about
the --mail option.
* doc/overview: Regenerated.
|
|
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
|
|
|