mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
tests: Skip Fortran/C demo tests
Using clang with fsanitize results in an incompatible ASan runtime. It results in the warning message "linked against incompatible ASan runtimes". This only occurs with the mixed Fortran/C demo. * tests/f77demo.at: Skip tests for clang compiling with fsanitize. * tests/fcdemo.at: Skip tests for clang compiling with fsanitize.
This commit is contained in:
parent
2048edd2cb
commit
46576dfaf4
@ -295,6 +295,14 @@ AT_CHECK([$GREP 'Welcome to GNU libtool mixed C/Fortran demo!' stdout],
|
||||
|
||||
AT_SETUP([static library])
|
||||
|
||||
# Using clang with fsanitize results in an incompatible ASan runtime.
|
||||
# It results in the warning message "linked against incompatible ASan
|
||||
# runtimes". This only occurs with the mixed Fortran/C demo.
|
||||
if $LIBTOOL --config | $EGREP '^CC="clang';
|
||||
then
|
||||
AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1)
|
||||
fi
|
||||
|
||||
# Executing the static fprogram might be interactive on MSYS.
|
||||
AT_KEYWORDS([interactive])
|
||||
|
||||
@ -313,6 +321,14 @@ AT_CLEANUP
|
||||
|
||||
AT_SETUP([shared library])
|
||||
|
||||
# Using clang with fsanitize results in an incompatible ASan runtime.
|
||||
# It results in the warning message "linked against incompatible ASan
|
||||
# runtimes". This only occurs with the mixed Fortran/C demo.
|
||||
if $LIBTOOL --config | $EGREP '^CC="clang';
|
||||
then
|
||||
AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1)
|
||||
fi
|
||||
|
||||
_LT_SETUP
|
||||
|
||||
LT_AT_CHECK_CONFIG([--disable-static],
|
||||
@ -328,6 +344,14 @@ AT_CLEANUP
|
||||
|
||||
AT_SETUP([shared and static together])
|
||||
|
||||
# Using clang with fsanitize results in an incompatible ASan runtime.
|
||||
# It results in the warning message "linked against incompatible ASan
|
||||
# runtimes". This only occurs with the mixed Fortran/C demo.
|
||||
if $LIBTOOL --config | $EGREP '^CC="clang';
|
||||
then
|
||||
AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1)
|
||||
fi
|
||||
|
||||
_LT_SETUP
|
||||
|
||||
LT_AT_CHECK_CONFIG([],
|
||||
|
@ -309,6 +309,14 @@ AT_CHECK([$GREP 'Welcome to GNU libtool mixed C/Fortran demo!' stdout],
|
||||
|
||||
AT_SETUP([static library])
|
||||
|
||||
# Using clang with fsanitize results in an incompatible ASan runtime.
|
||||
# It results in the warning message "linked against incompatible ASan
|
||||
# runtimes". This only occurs with the mixed Fortran/C demo.
|
||||
if $LIBTOOL --config | $EGREP '^CC="clang';
|
||||
then
|
||||
AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1)
|
||||
fi
|
||||
|
||||
# Executing the static fprogram might be interactive on MSYS.
|
||||
AT_KEYWORDS([interactive])
|
||||
|
||||
@ -327,6 +335,14 @@ AT_CLEANUP
|
||||
|
||||
AT_SETUP([shared library])
|
||||
|
||||
# Using clang with fsanitize results in an incompatible ASan runtime.
|
||||
# It results in the warning message "linked against incompatible ASan
|
||||
# runtimes". This only occurs with the mixed Fortran/C demo.
|
||||
if $LIBTOOL --config | $EGREP '^CC="clang';
|
||||
then
|
||||
AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1)
|
||||
fi
|
||||
|
||||
_LT_SETUP
|
||||
|
||||
LT_AT_CHECK_CONFIG([--disable-static],
|
||||
@ -342,6 +358,14 @@ AT_CLEANUP
|
||||
|
||||
AT_SETUP([shared and static together])
|
||||
|
||||
# Using clang with fsanitize results in an incompatible ASan runtime.
|
||||
# It results in the warning message "linked against incompatible ASan
|
||||
# runtimes". This only occurs with the mixed Fortran/C demo.
|
||||
if $LIBTOOL --config | $EGREP '^CC="clang';
|
||||
then
|
||||
AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1)
|
||||
fi
|
||||
|
||||
_LT_SETUP
|
||||
|
||||
LT_AT_CHECK_CONFIG([],
|
||||
|
Loading…
Reference in New Issue
Block a user