From beb5dea2c45e13e620ebdbb74dd6462cd844b754 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 24 Apr 2016 16:52:52 +0600 Subject: removed rpmbuild test it does not sense to test rpmbuild that way, it should be either rewritten or removed --- runtests.sh | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/runtests.sh b/runtests.sh index 87db0bc..82dc8c1 100755 --- a/runtests.sh +++ b/runtests.sh @@ -66,27 +66,4 @@ cp -r lua/cjson build/cjson.so tests do_tests rm -rf build tests/cjson{,.so} -if [ "$PLATFORM" = "Linux" ] -then - echo "===== Testing RPM build =====" - SRCTGZ="" - TGZ=lua-cjson-$VERSION.tar.gz - for D in .. packages . - do - [ -r "$D/$TGZ" ] && SRCTGZ="$D/$TGZ" - done - if [ "$SRCTGZ" ] - then - LOG=/tmp/build.$$ - rpmbuild -tb "$SRCTGZ" > "$LOG" - RPM="`awk '/^Wrote: / && ! /debuginfo/ { print $2}' < "$LOG"`" - sudo -- rpm -Uvh \"$RPM\" - do_tests - sudo -- rpm -e lua-cjson - rm -f "$LOG" - else - echo "==> skipping, $TGZ not found" - fi -fi - # vi:ai et sw=4 ts=4: -- cgit v1.2.3-55-g6feb