From a369647c335328ee488e5732b0ba595d8375d1c5 Mon Sep 17 00:00:00 2001 From: Pavel Durov Date: Mon, 25 Sep 2023 11:30:54 +0100 Subject: [PATCH 1/2] Add coroutine test --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index a609c15..867b790 100644 --- a/test.sh +++ b/test.sh @@ -20,7 +20,7 @@ LUA=../src/lua for serialise in 0 1; do for test in api bwcoercion closure code events \ - gengc pm tpack tracegc vararg goto cstack locals; do + gengc pm tpack tracegc vararg goto cstack locals coroutine; do echo "### YKD_SERIALISE_COMPILATION=$serialise $test.lua ###" YKD_SERIALISE_COMPILATION=$serialise ${LUA} ${test}.lua done From 236aaf40e8f761c52055a3ec5092814f31299515 Mon Sep 17 00:00:00 2001 From: Pavel Durov Date: Mon, 25 Sep 2023 11:32:13 +0100 Subject: [PATCH 2/2] Update tests table --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56bc80a..23ea42a 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ LYK_VERBOSE=1 sh ./test.sh | vararg.lua | Working | | | cstack.lua | Working | | | locals.lua | Working | | +| coroutine.lua | Working | | | db.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/38) | | attrib.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/42) | | bitwise.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/40) | @@ -80,7 +81,6 @@ LYK_VERBOSE=1 sh ./test.sh | utf8.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/54) | | big.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/55) | | literals.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/57) | -| coroutine.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/58) | | heavy.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/59) | | verybig.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/56) | | main.lua | Failing | [issue](https://github.com/ykjit/yklua/issues/60) |