diff options
author | lijunlong <lijunlong@openresty.com> | 2023-02-22 21:34:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 21:34:30 +0800 |
commit | 41eee7406b0f048392168515b09e7d8bdd000624 (patch) | |
tree | 987f37890364caf90a1229113b7ba80a9c8ca185 /runtests.sh | |
parent | de93a78d3002ee72bb1c7e3a629d67e19623a4ae (diff) | |
download | lua-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-x | runtests.sh | 10 |
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} | ||
70 | else | 80 | else |
71 | echo "===== Skipping Cmake build =====" | 81 | echo "===== Skipping Cmake build =====" |
72 | fi | 82 | fi |