+2006-08-23 Daniel Jacobowitz <dan@codesourcery.com>
+
+ gdb/testsuite/
+ * config/symbian.exp (symbian_compile): Fail after unknown options.
+ Copy ELF files from the build tree.
+ * gdb.asm/asm-source.exp: Use untested.
+
2006-08-17 Daniel Jacobowitz <dan@codesourcery.com>
gdb/testsuite/
append allflags " $flags"
} else {
warning "Compilation option $option not supported"
+ return -1
}
}
}
file copy -force -- "$epocroot/epoc32/release/gcce/${reldir}/${proj}.exe" ${destfile}.exe
- file copy -force -- "$epocroot/epoc32/release/gcce/${reldir}/${proj}.sym" ${destfile}
+
+ # Don't look for a .sym file in that same directory; UDEB has one but
+ # UREL doesn't. Grab the .exe from the temporary build directory instead.
+ # file copy -force -- "$epocroot/epoc32/release/gcce/${reldir}/${proj}.sym" ${destfile}
+
+ set result [file native [file normalize [pwd]]]
+ if { [string first "C:" $result] != -1 } {
+ set result [string map {C: ""} $result]
+ } else {
+ # This appears to be a Unix-thinking sort of TCL.
+ set result "/cygwin/$result"
+ }
+ file copy -force -- "$epocroot/epoc32/BUILD$result/${proj}/gcce/${reldir}/${proj}.exe" ${destfile}
# file delete "bld.inf"
# file delete "${proj}.mmp"
regsub "--" "-g\[0-9\]" "${debug-flags}" "" debug-flags
if {[target_assemble ${srcdir}/${subdir}/${srcfile1} asmsrc1.o "${asm-flags} ${debug-flags}"] != ""} then {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ untested asm-source.exp
+ return -1
}
if {[target_assemble ${srcdir}/${subdir}/${srcfile2} asmsrc2.o "${asm-flags} ${debug-flags}"] != ""} then {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ untested asm-source.exp
+ return -1
}
# We deliberately don't use gdb_compile here to link together the