aboutsummaryrefslogtreecommitdiff
path: root/runtests.sh
diff options
context:
space:
mode:
authorlijunlong <lijunlong@openresty.com>2023-02-22 21:34:30 +0800
committerGitHub <noreply@github.com>2023-02-22 21:34:30 +0800
commit41eee7406b0f048392168515b09e7d8bdd000624 (patch)
tree987f37890364caf90a1229113b7ba80a9c8ca185 /runtests.sh
parentde93a78d3002ee72bb1c7e3a629d67e19623a4ae (diff)
downloadlua-cjson-41eee7406b0f048392168515b09e7d8bdd000624.tar.gz
lua-cjson-41eee7406b0f048392168515b09e7d8bdd000624.tar.bz2
lua-cjson-41eee7406b0f048392168515b09e7d8bdd000624.zip
Add updated netlib dtoa.c from https://netlib.sandia.gov/fp/dtoa.c
Co-authored-by: Jesper Lundgren <jesperlundgren@exosite.com>
Diffstat (limited to '')
-rwxr-xr-xruntests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh
index fe606fa..1c51236 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -67,6 +67,16 @@ if [ -z "$SKIP_CMAKE" ]; then
67 cp -r lua/cjson build/cjson.so tests 67 cp -r lua/cjson build/cjson.so tests
68 do_tests 68 do_tests
69 rm -rf build tests/cjson{,.so} 69 rm -rf build tests/cjson{,.so}
70
71 echo "===== Testing Cmake fpconv build ====="
72 mkdir build
73 cd build
74 cmake -DUSE_INTERNAL_FPCONV=1 ..
75 make
76 cd ..
77 cp -r lua/cjson build/cjson.so tests
78 do_tests
79 rm -rf build tests/cjson{,.so}
70else 80else
71 echo "===== Skipping Cmake build =====" 81 echo "===== Skipping Cmake build ====="
72fi 82fi