* [PATCH 12/12] sim/testsuite/cris: If failing compilation, mark C tests as errors
@ 2022-02-14 23:08 Hans-Peter Nilsson via Gdb-patches
0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson via Gdb-patches @ 2022-02-14 23:08 UTC (permalink / raw)
To: gdb-patches
...when we know we have a working compiler. This will reduce
the risk of faulty edits by exposing them rather than hiding
them as "unresolved". It also harmonizes behavior with that of
run_sim_test.
* c/c.exp: Mark C tests failing compilation test errors.
---
sim/testsuite/cris/c/c.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sim/testsuite/cris/c/c.exp b/sim/testsuite/cris/c/c.exp
index 3e186e072d8e..ffeccc871864 100644
--- a/sim/testsuite/cris/c/c.exp
+++ b/sim/testsuite/cris/c/c.exp
@@ -184,7 +184,7 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c]] {
verbose -log "Compiling $src with $opts(cc)"
if { [target_compile $src "$objdir/$testname.x" "executable" "$opts(cc)" ] != "" } {
- unresolved $testname
+ fail "$mach $testname (compilation)"
continue
}
--
2.30.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-14 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 23:08 [PATCH 12/12] sim/testsuite/cris: If failing compilation, mark C tests as errors Hans-Peter Nilsson via Gdb-patches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox