mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
sim/testsuite/cris: If failing compilation, mark C tests as errors
...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.
This commit is contained in:

committed by
Hans-Peter Nilsson

parent
4b0e74fd18
commit
234f5865fa
@ -184,7 +184,7 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c]] {
|
|||||||
verbose -log "Compiling $src with $opts(cc)"
|
verbose -log "Compiling $src with $opts(cc)"
|
||||||
|
|
||||||
if { [target_compile $src "$objdir/$testname.x" "executable" "$opts(cc)" ] != "" } {
|
if { [target_compile $src "$objdir/$testname.x" "executable" "$opts(cc)" ] != "" } {
|
||||||
unresolved $testname
|
fail "$mach $testname (compilation)"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user