aboutsummaryrefslogtreecommitdiff
path: root/math/gen-libm-test.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-22 11:49:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-22 11:49:36 +0000
commitb50a71810bbd35b8c83ba6eff4e6cc6faf93a7ea (patch)
tree489cf8610119f3ba71ffaac75325883151ffa8da /math/gen-libm-test.pl
parent3ce9e01097f72f90ca7c374addad94abcfea7c8a (diff)
downloadglibc-b50a71810bbd35b8c83ba6eff4e6cc6faf93a7ea.tar
glibc-b50a71810bbd35b8c83ba6eff4e6cc6faf93a7ea.tar.gz
glibc-b50a71810bbd35b8c83ba6eff4e6cc6faf93a7ea.tar.bz2
glibc-b50a71810bbd35b8c83ba6eff4e6cc6faf93a7ea.zip
Don't include expected results in libm-test test names.
Diffstat (limited to 'math/gen-libm-test.pl')
-rwxr-xr-xmath/gen-libm-test.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl
index c50e27d44a..e1a32e53c4 100755
--- a/math/gen-libm-test.pl
+++ b/math/gen-libm-test.pl
@@ -198,20 +198,17 @@ sub parse_args {
die ("$descr[$i] is unknown");
}
$call .= ')';
- $str = "$call == ";
+ $str = $call;
# Result
@descr = split //,$descr_res;
foreach (@descr) {
if ($_ =~ /f|i|l|L/) {
- $str .= &beautify ($args[$current_arg]);
++$current_arg;
} elsif ($_ eq 'c') {
- $str .= &build_complex_beautify ($args[$current_arg], $args[$current_arg+1]);
$current_arg += 2;
} elsif ($_ eq 'b') {
# boolean
- $str .= ($args[$current_arg] == 0) ? "false" : "true";
++$current_arg;
} elsif ($_ eq '1') {
++$current_arg;