diff options
author | Tom de Vries <tdevries@suse.de> | 2021-09-10 17:16:48 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-09-10 17:16:48 +0200 |
commit | 49a9ec7f6a37117519aba9d3e31b1fe17a9dc029 (patch) | |
tree | c64db3ecfc42a69a456e00b1035cfd74a0d0ba46 /gdb/python/python.c | |
parent | e7776f52fedcafc63619abb2928151cf5bbfcce2 (diff) | |
download | binutils-49a9ec7f6a37117519aba9d3e31b1fe17a9dc029.zip binutils-49a9ec7f6a37117519aba9d3e31b1fe17a9dc029.tar.gz binutils-49a9ec7f6a37117519aba9d3e31b1fe17a9dc029.tar.bz2 |
[gdb/testsuite] Handle unrecognized command line option in gdb_compile_test
When running the gdb testsuite with gnatmake-4.8, I get many fails of the
following form:
...
gcc: error: unrecognized command line option '-fgnat-encodings=all'^M
gnatmake: "gdb.ada/O2_float_param/foo.adb" compilation error^M
compiler exited with status 1
compilation failed: gcc ... gdb.ada/O2_float_param/foo.adb
gcc: error: unrecognized command line option '-fgnat-encodings=all'
gnatmake: "gdb.ada/O2_float_param/foo.adb" compilation error
FAIL: gdb.ada/O2_float_param.exp: scenario=all: compilation foo.adb
...
Fix this by marking the test unsupported instead, such that we have:
...
UNSUPPORTED: gdb.ada/O2_float_param.exp: scenario=all: compilation foo.adb \
(unsupported option '-fgnat-encodings=all')
...
Tested on x86_64-linux.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions