From 092edac3e0627cdfda05f9caab67ea4077db24e2 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 28 Oct 2015 01:52:52 +0300 Subject: [PATCH] update exitless-busted generation Busted 2.0.rc11-0 has the following main file: > require 'busted.runner'({ standalone = false }) Previous Busted versions had batch = true instead of standalone = false. Use both of them to be compatible with both Busted versions. See https://travis-ci.org/npge/lua-npge/jobs/87770095#L3023 --- .travis/test_with_valgrind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/test_with_valgrind.sh b/.travis/test_with_valgrind.sh index 39484c3..9af0723 100644 --- a/.travis/test_with_valgrind.sh +++ b/.travis/test_with_valgrind.sh @@ -3,7 +3,7 @@ if [ "$LUA" != "luajit" ]; then luarocks make --local CFLAGS="-O0 -g -fPIC" # make busted which does not call os.exit echo 'os.exit = function() end' > exitless-busted - echo 'require "busted.runner"({ batch = true })' \ + echo 'require "busted.runner"({ standalone = false, batch = true })' \ >> exitless-busted # valgrind... valgrind --error-exitcode=1 --leak-check=full \