diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-07-16 02:03:33 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-07-16 02:03:33 +0200 |
commit | b31e4bc16d1df62b50c6f77a77041f9e7b6c906d (patch) | |
tree | 024c74c13d918aa6bde302aab6836fa33607613c /flatcc/external/grisu3/test.sh | |
parent | ba6815ef8fb8ae472412b5af2837a7caba2799c2 (diff) | |
parent | 5a40295c4cf0af5ea8da9ced04a4ce7d3621a080 (diff) |
Merge commit '5a40295c4cf0af5ea8da9ced04a4ce7d3621a080' as 'flatcc'
Diffstat (limited to 'flatcc/external/grisu3/test.sh')
-rwxr-xr-x | flatcc/external/grisu3/test.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/flatcc/external/grisu3/test.sh b/flatcc/external/grisu3/test.sh new file mode 100755 index 0000000..1794fbb --- /dev/null +++ b/flatcc/external/grisu3/test.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +cd $(dirname $0) +mkdir -p build + +CC=cc + +$CC -g -Wall -Wextra $INCLUDE -I.. grisu3_test.c -lm -o build/grisu3_test_d +$CC -DNDEBUG -Wall -Wextra -O2 $INCLUDE -I.. grisu3_test.c -lm -o build/grisu3_test +echo "DEBUG:" +build/grisu3_test_d +echo "OPTIMIZED:" +build/grisu3_test + +echo "running double conversion tests" +./test_dblcnv.sh |