summaryrefslogtreecommitdiff
path: root/tests/lmp-v.tests
Commit message (Collapse)AuthorAgeFilesLines
* Test both with "normal" and "x87" floating-point.Guy Harris2020-02-041-4/+11
| | | | | | "Normal" is what you'll get with most versions of most instruction sets; "x87" is what you'll get with code compiled for 32-bit x86 without SSE, using the x87 instructions, at least with some compilers.
* Do some tests based on the type of floating-point arithmetic tcpdump does.Guy Harris2020-02-041-4/+5
| | | | | | | | | Add a --fp-type flag to tcpdump, which causes it to do a floating-point operation and, based on the result of the operation, prints out "FPTYPE{n}", where {n} is a number indicating the result. Have tests/TESTrun run "./tcpdump --fp-type" and set a HAVE_ key based on that. Run some tests only for FPTYPE1.
* Remove the hacks to avoid floating-point issues in the tcpdump checks.Guy Harris2020-02-041-1/+0
| | | | | | | | | | | I can't seem to make those issues pop up on my (x86-64) machine, and, if they do show up on any platforms, the best hack to handle it is probably to have a special tcpdump flag to force it to do a floating-point calculation and see what result is generated, and report the result, so we know what it'll do with the numbers in the test files, and have tests/TESTrun run tcpdump with that flag. If those tests *do* fail, we'll know what calculations to do.
* address some nits after the TESTrun stormDenis Ovsienko2020-02-041-0/+6
| | | | | | | | | Remove a stray .md file and restore some comments from the removed .sh files so future folk can see where the conditional tests come from, not just the mere fact of their existence. Remove the unused fragile shebang from testfuncs.pm. [skip ci]
* switch from shell script to complex test for lmp-vMichael Richardson2020-02-041-0/+13