From 1188498c1f714c32c287dfb657894d51c77e2c1b Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 23 May 2017 00:06:43 +1000 Subject: tests/test-suite/errors.js: un-skip test as we can now recover from a stack overflow --- tests/test-suite/errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-suite/errors.js') diff --git a/tests/test-suite/errors.js b/tests/test-suite/errors.js index c18adeb..47b4b2a 100644 --- a/tests/test-suite/errors.js +++ b/tests/test-suite/errors.js @@ -836,7 +836,7 @@ test("[test-suite] errors: testing line error", function (t) { }); -test("[test-suite] errors: several tests that exhaust the Lua stack", { skip: true }, function (t) { +test("[test-suite] errors: several tests that exhaust the Lua stack", function (t) { let luaCode = ` C = 0 local l = debug.getinfo(1, "l").currentline; function y () C=C+1; y() end -- cgit v1.2.3-54-g00ecf From 0085399fa4b4a6e9450ab454a4ac33dd26db003e Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 23 May 2017 00:16:59 +1000 Subject: tests/test-suite/errors.js: un-skip passing test --- tests/test-suite/errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-suite/errors.js') diff --git a/tests/test-suite/errors.js b/tests/test-suite/errors.js index 47b4b2a..432ee35 100644 --- a/tests/test-suite/errors.js +++ b/tests/test-suite/errors.js @@ -950,7 +950,7 @@ test("[test-suite] errors: error in error handling", function (t) { }); -test("[test-suite] errors: too many results", { skip: true }, function (t) { +test("[test-suite] errors: too many results", function (t) { let luaCode = ` local function loop (x,y,z) return 1 + loop(x, y, z) end -- cgit v1.2.3-54-g00ecf From 275c497e20df141160b92db6503da0b98f611bc0 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 23 May 2017 00:23:54 +1000 Subject: tests/test-suite/errors.js: copy setup from previous test to get a skipped test passing --- tests/test-suite/errors.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test-suite/errors.js') diff --git a/tests/test-suite/errors.js b/tests/test-suite/errors.js index 432ee35..5980724 100644 --- a/tests/test-suite/errors.js +++ b/tests/test-suite/errors.js @@ -871,9 +871,10 @@ test("[test-suite] errors: several tests that exhaust the Lua stack", function ( }); -test("[test-suite] errors: error lines in stack overflow", { skip: true }, function (t) { +test("[test-suite] errors: error lines in stack overflow", function (t) { let luaCode = ` C = 0 + local l = debug.getinfo(1, "l").currentline; function y () C=C+1; y() end local l1 local function g(x) l1 = debug.getinfo(x, "l").currentline; y() -- cgit v1.2.3-54-g00ecf