From f04eed6d7ea9abd33d3ac958039ab55404a1f5ad Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Thu, 18 Jun 2015 15:21:32 +0200 Subject: [PATCH] MT#12025 fix for lua-unit 3.1 Versions of LuaUnit before version 3.1 would export all assertions functions to the global namespace Change-Id: I0bdc03f63acbbe05c49ce10a00e551e60f914b3f --- run_tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_tests.sh b/run_tests.sh index aba9218..5fed393 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -18,6 +18,7 @@ function do_test() { echo "testing $1 -> reports/${1}.${EXT}" if ${OUT_FORCE} ; then cat< reports/${1}.${EXT} +EXPORT_ASSERT_TO_GLOBALS = true require "tests/${1}" ---- Control test output: local lu = LuaUnit @@ -27,6 +28,7 @@ lu:run() EOF else cat<