Generalize fugu failure handling in run-libcore-tests.sh
am: b89a92e6fe

Change-Id: I2a4b8270c01dc9aad106d592539b3ad681b77417