aboutsummaryrefslogtreecommitdiff
path: root/runtests.sh
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-13 23:39:57 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-13 23:39:57 +1030
commit2487f7fa11a9c3c6d24948b4abc9a0e5468d1b1d (patch)
tree70df6d593f00a3282ac634dc0c7e0cf3735950fb /runtests.sh
parent8e5aa7cfe7b873b4eb8dd522054e16a67fb66ca8 (diff)
downloadlua-cjson-2487f7fa11a9c3c6d24948b4abc9a0e5468d1b1d.tar.gz
lua-cjson-2487f7fa11a9c3c6d24948b4abc9a0e5468d1b1d.tar.bz2
lua-cjson-2487f7fa11a9c3c6d24948b4abc9a0e5468d1b1d.zip
Add support for building via CMake
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh
index f273385..c520be0 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -54,6 +54,16 @@ do_tests
54make clean 54make clean
55rm -f tests/cjson.so 55rm -f tests/cjson.so
56 56
57echo "===== Testing Cmake build ====="
58mkdir build
59cd build
60cmake ..
61make
62cd ..
63cp build/cjson.so tests
64do_tests
65rm -rf build tests/cjson.so
66
57if [ "$PLATFORM" = "Linux" ] 67if [ "$PLATFORM" = "Linux" ]
58then 68then
59 echo "===== Testing RPM build =====" 69 echo "===== Testing RPM build ====="