aboutsummaryrefslogtreecommitdiff
path: root/runtests.sh
diff options
context:
space:
mode:
authorleaf corcoran <leafot@gmail.com>2019-09-22 09:50:09 -0700
committerleaf <leafot@gmail.com>2020-04-25 14:24:18 -0700
commit206cb297178ff46b4c5e5de38744cd648dac4f22 (patch)
treea14cee341909cc530a8270bf04eff4dee2716ea8 /runtests.sh
parent701fda3ed4dccd6dd7e535986567d4e0235c6d02 (diff)
downloadlua-cjson-206cb297178ff46b4c5e5de38744cd648dac4f22.tar.gz
lua-cjson-206cb297178ff46b4c5e5de38744cd648dac4f22.tar.bz2
lua-cjson-206cb297178ff46b4c5e5de38744cd648dac4f22.zip
cmake doesn't support finding luajit, so skip it
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh24
1 files changed, 15 insertions, 9 deletions
diff --git a/runtests.sh b/runtests.sh
index bfb01d9..fe606fa 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -56,14 +56,20 @@ do_tests
56make clean 56make clean
57rm -rf tests/cjson{,.so} 57rm -rf tests/cjson{,.so}
58 58
59echo "===== Testing Cmake build =====" 59
60mkdir build 60if [ -z "$SKIP_CMAKE" ]; then
61cd build 61 echo "===== Testing Cmake build ====="
62cmake .. 62 mkdir build
63make 63 cd build
64cd .. 64 cmake ..
65cp -r lua/cjson build/cjson.so tests 65 make
66do_tests 66 cd ..
67rm -rf build tests/cjson{,.so} 67 cp -r lua/cjson build/cjson.so tests
68 do_tests
69 rm -rf build tests/cjson{,.so}
70else
71 echo "===== Skipping Cmake build ====="
72fi
73
68 74
69# vi:ai et sw=4 ts=4: 75# vi:ai et sw=4 ts=4: