mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
Skip complex types tests if gdb_skip_float_test
If the target doesn't support float, we don't run float complex types tests. gdb/testsuite: 2016-10-05 Yao Qi <yao.qi@linaro.org> * lib/gdb.exp (support_complex_tests): Return zero if gdb_skip_float_test return true.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-10-05 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
|
* lib/gdb.exp (support_complex_tests): Return zero if
|
||||||
|
gdb_skip_float_test return true.
|
||||||
|
|
||||||
2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
|
2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
|
||||||
2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
|
2016-10-03 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
@ -2176,6 +2176,13 @@ proc with_timeout_factor { factor body } {
|
|||||||
# Return 1 if _Complex types are supported, otherwise, return 0.
|
# Return 1 if _Complex types are supported, otherwise, return 0.
|
||||||
|
|
||||||
gdb_caching_proc support_complex_tests {
|
gdb_caching_proc support_complex_tests {
|
||||||
|
|
||||||
|
if { [gdb_skip_float_test] } {
|
||||||
|
# If floating point is not supported, _Complex is not
|
||||||
|
# supported.
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
# Set up, compile, and execute a test program containing _Complex types.
|
# Set up, compile, and execute a test program containing _Complex types.
|
||||||
# Include the current process ID in the file names to prevent conflicts
|
# Include the current process ID in the file names to prevent conflicts
|
||||||
# with invocations for multiple testsuites.
|
# with invocations for multiple testsuites.
|
||||||
|
Reference in New Issue
Block a user