summaryrefslogtreecommitdiff
path: root/build-packages.sh
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2012-01-16 19:36:59 +1030
committerMark Pulford <mark@kyne.com.au>2012-03-04 18:54:35 +1030
commitc9a4e121f18a1c36b3b0065aa7eed7097f12356c (patch)
tree6fd0996973232c26d2591f080cd1315a561b668a /build-packages.sh
parent1c1adf1f43b78ac73617437d97d191546d9d6ab7 (diff)
downloadlua-cjson-c9a4e121f18a1c36b3b0065aa7eed7097f12356c.tar.gz
lua-cjson-c9a4e121f18a1c36b3b0065aa7eed7097f12356c.tar.bz2
lua-cjson-c9a4e121f18a1c36b3b0065aa7eed7097f12356c.zip
Tidy tests and improve coverage
- Rearrange test sections to keep more related tests together. - Test configuration functions for errors Add tests for more parts of the Lua CJSON API: - _NAME, _VERSION, version - encode_keep_buffer - encode_number_precision - decode_invalid_numbers - decode_max_depth
Diffstat (limited to 'build-packages.sh')
-rwxr-xr-xbuild-packages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-packages.sh b/build-packages.sh
index 8d9f620..1664531 100755
--- a/build-packages.sh
+++ b/build-packages.sh
@@ -5,7 +5,7 @@
5# Build packages. Use current checked out version, or a specific tag/commit. 5# Build packages. Use current checked out version, or a specific tag/commit.
6 6
7# Files requiring a version bump 7# Files requiring a version bump
8VERSION_FILES="lua-cjson-1.0devel-1.rockspec lua-cjson.spec lua_cjson.c manual.txt runtests.sh" 8VERSION_FILES="lua-cjson-1.0devel-1.rockspec lua-cjson.spec lua_cjson.c manual.txt runtests.sh tests/test.lua"
9 9
10[ "$1" ] && BRANCH="$1" || BRANCH="`git describe --match '1.[0-9]*'`" 10[ "$1" ] && BRANCH="$1" || BRANCH="`git describe --match '1.[0-9]*'`"
11VERSION="`git describe --match '1.[0-9]*' $BRANCH`" 11VERSION="`git describe --match '1.[0-9]*' $BRANCH`"