Ben Elliston
54f62a6c5b
* testsuite/runtest.all/utils.test: Test runtest_file_p.
8 years ago
Ben Elliston
d4a10385ee
* lib/utils.exp (grep): Handle -n.
* doc/dejagnu.texi (grep procedure): Document it.
* testsuite/runtest.all/utils.test: Add a test case.
* NEWS: Add an item.
8 years ago
Ben Elliston
0d91a5aa03
* testsuite/runtest.all/utils.test: Test diff.
8 years ago
Ben Elliston
d40bf1fd04
* testsuite/runtest.all/utils.test: Test grep.
8 years ago
Ben Elliston
217b8da593
* testsuite/runtest.all/utils.test (which): Fail on the else path,
don't pass in either case.
8 years ago
Jacob Bachmeyer
91b267562d
* lib/utils.exp (relative_filename): New proc.
* runtest.exp: Use it.
* doc/dejagnu.texi (relative_filename procedure): Document it.
* testsuite/runtest.all/utils.test: Add tests for relative_filename.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
1007fbb67a
* lib/utils.exp (grep): Remove reference to "NULL" in comment.
* testsuite/lib/util-defs.exp (util_start): Likewise.
8 years ago
Ben Elliston
14f40e5a6b
* lib/framework.exp (istarget, ishost, istarget): Set the argument
default value to the empty string.
* doc/dejagnu.texi (find procedure): Remove reference to "NULL".
(getenv procedure): Re-word this node.
(isbuild procedure): Update.
(ishost procedure): Likewise.
(istarget procedure): Likewise.
* testsuite/runtest.all/config.test: Add test cases.
8 years ago
Jacob Bachmeyer
33121d67a8
* Makefile.am (DEJATOOL): List tools in testsuite.
(RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
* testsuite/config/default.exp: Rename from this ...
* testsuite/lib/runtest.exp: ... to this.
(runtest_exit): Remove spurious "close". This was causing per-tool
testing to fail, since the testsuite for "runtest" never actually
uses "spawn", so "close" ends up closing exp0, which is the
terminal. The ${tool}_exit proc is not called if the --tool
option is not given, so this had no effect earlier.
* testsuite/lib/libdejagnu.exp: New empty file.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
1cce5f2ef9
Reported by Jacob Bachmeyer.
* testsuite/runtest.all/utils.test: Fix missing end quote.
8 years ago
Ben Elliston
a5d5bd4f3a
Revert these changes:
2016-04-25 Ben Elliston <bje@gnu.org>
* testsuite/runtest.all/utils.test: Remove unsetenv test.
2016-04-24 Ben Elliston <bje@gnu.org>
* lib/utils.exp (unsetenv): Remove proc.
* doc/dejagnu.texi: Update documentation.
* NEWS: Update.
9 years ago
Ben Elliston
616b897343
* lib/target.exp (push_target): Remove unnecessary global command.
* testsuite/runtest.all/target.test: Overhaul tests.
9 years ago
Ben Elliston
886c747c8e
* testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
9 years ago
Tom de Vries
43ece26181
* testsuite/runtest.all/target.test: Remove list_targets test.
Signed-off-by: Ben Elliston <bje@gnu.org>
9 years ago
Tom de Vries
97b84b2501
* testsuite/runtest.all/libs.exp (process_test): Dump entire
output when there's no reportable output.
* testsuite/runtest.all/remote.test (load_lib): New proc.
* testsuite/runtest.all/target.test (load_lib): Same.
Signed-off-by: Ben Elliston <bje@gnu.org>
9 years ago
Ben Elliston
c920074240
Revert "* testsuite/runtest.all/libs.exp (process_test): Check if test has"
This reverts commit b0d3e27d5a .
9 years ago
Tom de Vries
b0d3e27d5a
* testsuite/runtest.all/libs.exp (process_test): Check if test has
reportable output.
Signed-off-by: Ben Elliston <bje@gnu.org>
9 years ago
Bernhard Reutner-Fischer
4ca812c8f4
* configure.ac, dejagnu.h, runtest, runtest.exp,
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>
10 years ago
Bernhard Reutner-Fischer
eea1fb7501
* baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.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/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>
10 years ago
Ben Elliston
6d7bc3d6f2
* testsuite/runtest.all/utils.test: Remove unsetenv test.
10 years ago
Ben Elliston
57907758c5
* runtest.exp: Improve --version (-v) output.
* testsuite/runtest.all/options.exp: Update test case.
10 years ago
Ben Elliston
513ba97be0
* lib/utils.exp (which): Reimplement to more closely mimic the
behaviour of the UNIX which utility.
* testsuite/runtest.all/utils.test: Test proc which.
11 years ago
Ben Elliston
d2eada87b5
* testsuite/runtest.all/options.exp: Properly clean up log files
left by the runtest under test.
11 years ago
Ben Elliston
de79b6ac23
* testsuite/runtest.all/load_lib.exp: Typo fixes.
11 years ago
Ben Elliston
907370274c
* testsuite/runtest.all/options.exp: Add more tests.
11 years ago
Ben Elliston
1cc6e6b78f
* testsuite/libdejagnu/tunit.exp: Clean up.
11 years ago
Ben Elliston
9fc0c958dd
* testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
11 years ago
Ben Elliston
ba16fb2ad3
* testsuite/runtest.all/options.exp: Remove some commented code.
11 years ago
Ben Elliston
2bac1e0511
* runtest.exp: Refer to "DejaGnu version", not "Framework
version" in --version output.
* testsuite/runtest.all/options.exp: Update test case.
11 years ago
Bernhard Reutner-Fischer
5481f29161
* runtest.exp (libdirs): New global variable.
(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>
13 years ago
Bernhard Reutner-Fischer
fdf0a41ee0
* testsuite/runtest.all/default_procs.tcl (send_log): Use the
magic "args" parameter name, as expect send_log proc accepts -- as
a leading option.
Signed-off-by: Ben Elliston <bje@gnu.org>
13 years ago
Gilles Espinasse
4d13bc3a3c
* testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
Signed-off-by: Ben Elliston <bje@gnu.org>
14 years ago
Ben Elliston
55a770e7c6
* config/vxworks.exp (vxworks_file): Use "file delete", not "exec
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.
16 years ago
Ben Elliston
54f20a63a4
* Makefile.am (DISTCLEANFILES): Define.
* 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).
16 years ago
Ben Elliston
1ed066c11e
Upgrade to GPL version 3.
16 years ago
Rob Savoye
f89e729b3f
update copyright date for 2010.
17 years ago
Ben Elliston
7cd597d12f
Make the testsuite work better.
* Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
* Makefile.in: Regenerate.
* dejagnu.exp (host_execute): Improve regexp matching.
* testsuite/libdejagnu/unit.cc: C++ fixes.
19 years ago
Ben Elliston
d426ec81cc
* testsuite/runtest.all/utils.test: Add runtest_file_p.
21 years ago
Ben Elliston
8eb956a3f2
* dejagnu.h: Update copyright notice. Use C-style /* .. */
comments for portability with ISO C compilers.
* testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
21 years ago
Ben Elliston
343a276199
* runtest.exp: 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.
21 years ago
Ben Elliston
97ce888132
* config/default.exp, config/unix.exp, config/vxworks.exp,
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.
21 years ago
Ben Elliston
10992a2ddd
* testsuite/runtest.all/utils.test: Don't bother mentioning
absolute, psource, prune and slay as untested procedures.
21 years ago
Ben Elliston
bf217479d3
* testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
subdirectory.
21 years ago
Ben Elliston
41d13ade48
* Makefile.am (SUBDIRS): Remove testsuite, example.
(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.
21 years ago
Ben Elliston
fd19fb3b48
* configure: Regenerate with autoconf 2.59.
* 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.
21 years ago
Ben Elliston
50af4bb739
* aclocal.m4: Regenerate with aclocal 1.9.
* 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.
21 years ago
Ben Elliston
0b9cac6ff4
* Update the FSF's physical address throughout.
21 years ago
Rob Savoye
f3516b6529
2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
* 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.
23 years ago
Ben Elliston
30c35cf469
* TODO: Update.
* testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
23 years ago
Ben Elliston
2d2bf0f0a7
* configure.ac: Quote strings throughout in good Autoconf style.
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.
23 years ago