nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #!/bin/sh |
2 | |||
3 | # The "verbose" Link Management Protocol test involves a float calculation that |
||
4 | # may produce a slightly different result depending on the architecture and the |
||
5 | # compiler (see GitHub issue #333). The reference output was produced using a |
||
6 | # GCC build and must reproduce correctly on any other GCC build regardless of |
||
7 | # the architecture. |
||
8 | |||
9 | # A Windows build may have no file named Makefile and also a version of grep |
||
10 | # that won't return an error when the file does not exist. Work around. |
||
11 | if [ ! -f ../Makefile ] |
||
12 | then |
||
13 | printf ' %-30s: TEST SKIPPED (no Makefile)\n' 'lmp-v' |
||
14 | elif grep '^CC = .*gcc' ../Makefile >/dev/null |
||
15 | then |
||
16 | ./TESTonce lmp-v lmp.pcap lmp-v.out '-t -T lmp -v' |
||
17 | else |
||
18 | printf ' %-30s: TEST SKIPPED (compiler is not GCC)\n' 'lmp-v' |
||
19 | fi |