diff options
| author | Joseph Myers <josmyers@redhat.com> | 2025-12-08 17:02:22 +0000 |
|---|---|---|
| committer | Joseph Myers <josmyers@redhat.com> | 2025-12-08 17:02:22 +0000 |
| commit | a7b8c5faa6ff3d9bcc15457113e611ec377c6f5f (patch) | |
| tree | 556f235c40173e280e3f66fef2639bf48c3d8940 /libjava/classpath/java/sql | |
| parent | 3777a0b41f9fdcbb5fde4bdfce06031805cebc33 (diff) | |
| download | gcc-a7b8c5faa6ff3d9bcc15457113e611ec377c6f5f.zip gcc-a7b8c5faa6ff3d9bcc15457113e611ec377c6f5f.tar.gz gcc-a7b8c5faa6ff3d9bcc15457113e611ec377c6f5f.tar.bz2 | |
contrib: Set more site.exp variables in test_installed
Add support in contrib/test_installed for more variables (via
associated command-line options to the script) that gcc/Makefile.in
can set:
* ALT_CC_UNDER_TEST, ALT_CXX_UNDER_TEST and COMPAT_OPTIONS are used in
compat testing (against the same or a different compiler).
* The libiconv variable is used for testing iconv support for
particular character sets, and defaults to -liconv if not set in
site.exp, which is wrong on systems with iconv in libc; keep the
default, but add an option to override this.
Note that the dg-require-iconv testing is currently bogus in a cross
environment, and this patch does nothing to address that. The tests
using dg-require-iconv actually care about character set support on
the *host*, for character conversions carried out in the compiler,
and the libiconv setting put in site.exp by gcc/Makefile.in is a
*host* library setting. But dg-require-iconv /
check_iconv_available tests availability when compiling, linking and
executing for the *target*. If the host and target have close
enough to the same OS, this may work by accident, but otherwise it
will incorrectly enable / disable these tests based on target
information (but using a libiconv setting designed for the host)
when it should be based on host information.
* test_installed (--with-alt-cc=, --with-alt-cxx=)
(--with-compat-options=, --with-libiconv=): New options.
Diffstat (limited to 'libjava/classpath/java/sql')
0 files changed, 0 insertions, 0 deletions
