* Testsuite improvement patch
@ 2001-11-18 14:42 Ben Elliston
2001-11-18 15:17 ` Ben Elliston
2001-12-10 15:48 ` Ben Elliston
0 siblings, 2 replies; 4+ messages in thread
From: Ben Elliston @ 2001-11-18 14:42 UTC (permalink / raw)
To: sid
The following patch makes SID's component/cgen-cpu testsuites behave
like testsuites such as GCC's: if the test case passes, any object
code generated by the assembler or linker is subsequently removed.
This leaves the testsuite directory in a tidier state at the end of a
test run.
It is not necessary to wrap a Tcl catch{} command around "file delete"
commands -- according to the manual page: ``Trying to delete a
non-existent file is not considered an error.''
Okay to commit?
2001-12-11 Ben Elliston <bje@redhat.com>
* lib/cpudefs.exp (run-one-sid-test): Delete object code if the
test case passes.
***************
*** 390,395 ****
--- 390,396 ----
if { "$opts(xerror)" == "no" } {
if [string match $opts(output) $output] {
pass "$test \#$iter"
+ file delete ${name}.o ${exe-name}
} else {
verbose -log "output: $output" 3
verbose -log "pattern: $opts(output)" 3
***************
*** 408,413 ****
--- 409,415 ----
} else {
if [string match $opts(output) $output] {
pass "$test \#$iter"
+ file delete ${name}.o ${exe-name}
} else {
verbose -log "output: $output" 3
verbose -log "pattern: $opts(output)" 3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Testsuite improvement patch
2001-11-18 14:42 Testsuite improvement patch Ben Elliston
@ 2001-11-18 15:17 ` Ben Elliston
2001-12-10 15:59 ` Ben Elliston
2001-12-10 15:48 ` Ben Elliston
1 sibling, 1 reply; 4+ messages in thread
From: Ben Elliston @ 2001-11-18 15:17 UTC (permalink / raw)
To: sid
Approved by fche.
Ben
^ permalink raw reply [flat|nested] 4+ messages in thread
* Testsuite improvement patch
2001-11-18 14:42 Testsuite improvement patch Ben Elliston
2001-11-18 15:17 ` Ben Elliston
@ 2001-12-10 15:48 ` Ben Elliston
1 sibling, 0 replies; 4+ messages in thread
From: Ben Elliston @ 2001-12-10 15:48 UTC (permalink / raw)
To: sid
The following patch makes SID's component/cgen-cpu testsuites behave
like testsuites such as GCC's: if the test case passes, any object
code generated by the assembler or linker is subsequently removed.
This leaves the testsuite directory in a tidier state at the end of a
test run.
It is not necessary to wrap a Tcl catch{} command around "file delete"
commands -- according to the manual page: ``Trying to delete a
non-existent file is not considered an error.''
Okay to commit?
2001-12-11 Ben Elliston <bje@redhat.com>
* lib/cpudefs.exp (run-one-sid-test): Delete object code if the
test case passes.
***************
*** 390,395 ****
--- 390,396 ----
if { "$opts(xerror)" == "no" } {
if [string match $opts(output) $output] {
pass "$test \#$iter"
+ file delete ${name}.o ${exe-name}
} else {
verbose -log "output: $output" 3
verbose -log "pattern: $opts(output)" 3
***************
*** 408,413 ****
--- 409,415 ----
} else {
if [string match $opts(output) $output] {
pass "$test \#$iter"
+ file delete ${name}.o ${exe-name}
} else {
verbose -log "output: $output" 3
verbose -log "pattern: $opts(output)" 3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Testsuite improvement patch
2001-11-18 15:17 ` Ben Elliston
@ 2001-12-10 15:59 ` Ben Elliston
0 siblings, 0 replies; 4+ messages in thread
From: Ben Elliston @ 2001-12-10 15:59 UTC (permalink / raw)
To: sid
Approved by fche.
Ben
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-12-10 23:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-18 14:42 Testsuite improvement patch Ben Elliston
2001-11-18 15:17 ` Ben Elliston
2001-12-10 15:59 ` Ben Elliston
2001-12-10 15:48 ` Ben Elliston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).