tools/run_tests.sh: detect gcc without multilib support

This commit is contained in:
Eric Biggers 2018-02-18 23:03:26 -08:00
parent 5f3afad793
commit 0c62e25464

View File

@ -140,8 +140,9 @@ native_tests() {
fi fi
for compiler in ${compilers_to_try[@]}; do for compiler in ${compilers_to_try[@]}; do
for cflags in "${cflags_to_try[@]}"; do for cflags in "${cflags_to_try[@]}"; do
if [ "$compiler" = "/usr/bin/gcc-4.8" -a \ if [ "$cflags" = "-m32" ] && \
"$cflags" = "-m32" ]; then $compiler -v |& grep -q -- '--disable-multilib'
then
continue continue
fi fi
log "Running tests with CC=$compiler," \ log "Running tests with CC=$compiler," \