From 49a1b944d0c486a19030376427ee02bfe42fb6b9 Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Tue, 4 Jul 2023 23:25:08 -0400 Subject: [PATCH] Fixed love2d tests --- .github/workflows/love.yml | 2 +- tests/conf.lua | 2 +- tests/threadtests.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/love.yml b/.github/workflows/love.yml index a59560a..7c8455f 100644 --- a/.github/workflows/love.yml +++ b/.github/workflows/love.yml @@ -19,4 +19,4 @@ jobs: sudo chmod +x love.AppImage - name: Run Tests run: | - ./love.AppImage tests \ No newline at end of file + cd tests && ./love.AppImage . \ No newline at end of file diff --git a/tests/conf.lua b/tests/conf.lua index 3dcc3c6..dc85a78 100644 --- a/tests/conf.lua +++ b/tests/conf.lua @@ -1,6 +1,6 @@ function love.conf(t) t.identity = nil -- The name of the save directory (string) - t.version = "12.0" -- The LOVE version this game was made for (string) + t.version = "11.4" -- The LOVE version this game was made for (string) t.console = true -- Attach a console (boolean, Windows only) t.window = false diff --git a/tests/threadtests.lua b/tests/threadtests.lua index daf75d7..e7d8e3a 100644 --- a/tests/threadtests.lua +++ b/tests/threadtests.lua @@ -232,7 +232,7 @@ multi:newThread("Scheduler Thread",function() multi.success("SystemThreadedProcessor: OK") we_good = true - os.exit(1) + os.exit() end).OnError(multi.error) multi.OnExit(function(err_or_errorcode)