aboutsummaryrefslogtreecommitdiff
path: root/src/lib/strconv/test.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-11-17 12:34:03 -0800
committerRuss Cox <rsc@golang.org>2008-11-17 12:34:03 -0800
commit079c00a475d11f71a69fe848dd67e8fe34ac88a8 (patch)
treeaeb58cc993873dadfe1a2adbc63521879b2dd66a /src/lib/strconv/test.bash
parentf333f4685cc667dda0be6ecd5500ff8fa10f4a2a (diff)
downloadgo-079c00a475d11f71a69fe848dd67e8fe34ac88a8.tar.xz
correctly rounded floating-point conversions
in new package strconv. move atoi etc to strconv too. update fmt, etc to use strconv. R=r DELTA=2232 (1691 added, 424 deleted, 117 changed) OCL=19286 CL=19380
Diffstat (limited to 'src/lib/strconv/test.bash')
-rwxr-xr-xsrc/lib/strconv/test.bash20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/strconv/test.bash b/src/lib/strconv/test.bash
new file mode 100755
index 0000000000..5da7772498
--- /dev/null
+++ b/src/lib/strconv/test.bash
@@ -0,0 +1,20 @@
+#!/bin/bash
+# Copyright 2009 The Go Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+set -e
+set -x
+
+make clean
+make
+6g testatof.go
+6l testatof.6
+6.out
+6g testftoa.go
+6l testftoa.6
+6.out
+6g testfp.go
+6l testfp.6
+6.out
+rm -f *.6 6.out