2014-01-20 19:38:08 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# The "verbose" Link Management Protocol test involves a float calculation that
|
|
|
|
# may produce a slightly different result depending on the architecture and the
|
|
|
|
# compiler (see GitHub issue #333). The reference output was produced using a
|
|
|
|
# GCC build and must reproduce correctly on any other GCC build regardless of
|
|
|
|
# the architecture.
|
|
|
|
|
2014-04-28 21:41:50 +08:00
|
|
|
if grep '^CC = .*gcc' ../Makefile >/dev/null
|
2014-01-20 19:38:08 +08:00
|
|
|
then
|
2014-05-02 10:56:26 +08:00
|
|
|
./TESTonce lmp-v lmp.pcap lmp-v.out '-t -T lmp -v'
|
2014-01-20 20:06:50 +08:00
|
|
|
else
|
2014-01-20 21:27:18 +08:00
|
|
|
printf ' %-30s: TEST SKIPPED (compiler is not GCC)\n' 'lmp-v'
|
2014-01-20 19:38:08 +08:00
|
|
|
fi
|