Yvan Roux
f3bfd00a61
Keep trailing newline in remote execution output
* lib/rsh.exp (rsh_exec): Don't remove trailing newline.
* lib/ssh.exp (rsh_exec): Likewise.
10 years ago
Maxim Kuvyrkov
6e55af0128
Support using QEMU in local/remote testing using default "unix" board
If the board file defines "exec_shell", prepend it before the local or
remote command.
10 years ago
Jacob Bachmeyer
5fafcd43b2
Save and restore variables set by command arguments
This commit closes the window during which srcdir was controlled by the
testsuite local init file even if specified on the command line.
Allowing this override causes problems with Automake when the source
directory was set using a relative file name.
6 years ago
Jacob Bachmeyer
55765f0cea
Print initial working directory if verbose output is selected
6 years ago
Jacob Bachmeyer
ad035c009d
Add verbose output for testsuite search
6 years ago
Jacob Bachmeyer
d37c15b4d5
Fix problems with relative srcdir in launcher and report-card testsuites
6 years ago
Jacob Bachmeyer
205b28531d
Fix problems with relative srcdir in testsuite/runtest.main/options.exp
6 years ago
Jacob Bachmeyer
6a5b586145
Show the user's login name shortly after finding it
Previously, two procedures were defined between setting logname and
reporting its value if verbosity is selected. This does not change
program flow, but will make the code easier to examine in the future.
6 years ago
Jacob Bachmeyer
9533507ea4
Tidy irregular indentation in ChangeLog
6 years ago
Jacob Bachmeyer
10191e1d8d
Fix default value of libdir global
This was causing testsuite/runtest.main/stats.exp to fail unless the
DejaGnu sources were in a directory named dejagnu.
6 years ago
Jacob Bachmeyer
5405dc038d
Fix node duplicated by merge error in dejagnu.texi
The previous merge duplicated the "target_link procedure" node.
6 years ago
Rob Savoye
b9cd21fdb4
Merge branch 'patch-0002'
6 years ago
Jacob Bachmeyer
738c8c07c5
Add documentation for target_compile procedure.
6 years ago
Jacob Bachmeyer
58e9bae32b
Document internal procedure, default_link
6 years ago
Jacob Bachmeyer
16a6991256
Use board_info correctly.
6 years ago
Jacob Bachmeyer
d3dfed9a09
Cleanup whitespace
6 years ago
Jacob Bachmeyer
186b7fbb31
Use host_info procedure to probe for a host configuration, instead of checking a local empty target_info array due to lacking global target_info.
6 years ago
Rob Savoye
a69ac800d4
Fix Copyright date
6 years ago
Jacob Bachmeyer
ba60272a5a
Establish a default C compiler by evaluating [find_gcc] if no other compiler is given.
6 years ago
Rob Savoye
93b882b9df
add entry
6 years ago
Rob Savoye
15754044c4
Add baseboard to cross test to a Raspberry PI
6 years ago
Tom Tromey
35869d65f3
This adds a .dir-locals.el for emacs to the repository
6 years ago
Tom Tromey
c8bbfc20b0
Ignore generated files.
6 years ago
Jacob Bachmeyer
6241369be1
Collect loading DejaGnu libraries into a single loop, Revise the mock board_info array.
6 years ago
Jacob Bachmeyer
94cb6b7887
New file
6 years ago
Rob Savoye
249df0fd7d
DejaGnu unit testing API for Python
6 years ago
Jacob Bachmeyer
dfbd0b4bbd
Explicitly list optional arguments instead of simply copying the Tcl argument list for the remote_exec procedure.
6 years ago
Jacob Bachmeyer
a0fc110b7e
Set sum_file to empty string instead of opening a temporary file named .tmp.
6 years ago
Jacob Bachmeyer
51b992beba
Fix internal testsuite stubs to reflect previous changes.
6 years ago
Jacob Bachmeyer
60bb232959
Use runtest_file_p to honor requests to run only some library tests.
6 years ago
Rob Savoye
a53deb4787
Add entry and FIXME
6 years ago
Rob Savoye
1a76740eff
Add hook to put branch and evision in the version for development builds.
6 years ago
Rob Savoye
2e0e9d195c
add entry
6 years ago
Rob Savoye
9d1782be0e
Update Copyright dates
6 years ago
Rob Savoye
3193f1dd43
Update Copyright dates
6 years ago
Andrew Burgess
df67223e4b
* runtest.exp (search_and_load_file): Join the directory and
filename once using 'file join'.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Jacob Bachmeyer
7017c2a068
* doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
spacing so the Emacs move-by-sentence commands work correctly.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Ben Elliston
f3d2736755
* doc/dejagnu.texi: Replace "config file" with "configuration
file" throughout.
7 years ago
Jacob Bachmeyer
73a9a52f3f
* doc/dejagnu.texi (Command line option variables): Improve table
formatting to fix overlapping columns and revise text slightly.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Jacob Bachmeyer
be22576744
* doc/dejagnu.texi (Global config file): Change example to use the
Tcl "switch" command instead of the deprecated "case" command.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Ben Elliston
18ac21ff34
Bump version.texi.
7 years ago
Jacob Bachmeyer
4a4e84a615
* doc/dejagnu.texi (runtest_file_p procedure): Fix description of
the structure of the "runtests" argument.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Ben Elliston
c0f818796c
* doc/dejagnu.texi: Various documentation fixes.
7 years ago
Jacob Bachmeyer
e70fd889a7
* testsuite/runtest.libs/clone_output.test: Use new test harness
for verifying output of clone_output.
* testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
template using store_test_output.
(send_log): Likewise.
(send_user): Likewise.
(clear_test_output): New proc.
(store_test_output): New proc.
* lib/framework.exp (clone_output): Actually send errors to the
error stream; bug found while improving testsuite.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Jacob Bachmeyer
bf6c9fa684
* testsuite/runtest.libs/libs.exp (process_test): Handle blank
lines from child process correctly.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Jacob Bachmeyer
dc67c894db
* NEWS: Document report card.
* Makefile.am (clean-local): Add target.
(clean-local-check): Add target; mark as PHONY.
(commands_DATA): Add "report-card" scripts.
(dist_man_MANS): Add dejagnu-report-card.1 and split.
(DEJATOOL): Add "report-card" tool.
(TESTSUITE_FILES): Add testsuite for "report-card" tool.
* commands/report-card.awk: New command script.
* doc/dejagnu.texi (Invoking dejagnu report card): New node.
* doc/dejagnu-report-card.1: New man page.
* testsuite/lib/bohman_ssd.exp: New file.
* testsuite/lib/report-card.exp: New file.
* testsuite/report-card.all/onetest.exp: New file.
* testsuite/report-card.all/passes.exp: New file.
Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago
Ben Elliston
b51a38c441
* Makefile.am (DISTCLEANFILES): Don't use this.
(CLEANFILES): Use this instead.
* Makefile.in: Regenerate.
7 years ago
Ben Elliston
7d63d7a08c
* configure.ac: Abort if AWK is not installed.
* configure: Regenerate.
7 years ago
Ben Elliston
133ffaef0b
* config.guess: Update to latest version.
* config.sub: Likewise.
7 years ago
Ben Elliston
b49747de11
* configure.ac: Add AC_PROG_AWK check.
* configure: Regenerate.
7 years ago