summaryrefslogtreecommitdiff
path: root/math/gen-libm-test.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-04-29 20:36:48 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-04-29 20:36:48 +0000
commitf2da7793096c58b30ca57380da4c1343cabc4044 (patch)
treebdda9f127f8c35e2c1674f97e08e8f9367b7eea0 /math/gen-libm-test.pl
parentc3ed8088e4812d4f58bf9f6124106c65be22faef (diff)
Integrate errno testing better in libm-test.inc.
Diffstat (limited to 'math/gen-libm-test.pl')
-rwxr-xr-xmath/gen-libm-test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl
index aa60d9dbae..f6ed1a8588 100755
--- a/math/gen-libm-test.pl
+++ b/math/gen-libm-test.pl
@@ -295,7 +295,7 @@ sub parse_args {
# consistency check
if ($current_arg == $#args) {
die ("wrong number of arguments")
- unless ($args[$current_arg] =~ /EXCEPTION|IGNORE_ZERO_INF_SIGN/);
+ unless ($args[$current_arg] =~ /EXCEPTION|ERRNO|IGNORE_ZERO_INF_SIGN/);
} elsif ($current_arg < $#args) {
die ("wrong number of arguments");
} elsif ($current_arg > ($#args+1)) {