From c5012c5e4a6f0968fe8899386a5cb45a8a46735e Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sun, 25 Feb 2024 11:36:09 -0400 Subject: [PATCH] full test --- .github/workflows/main.yml | 2 +- testing/conf.lua | 8 -------- testing/main.lua | 5 ----- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dca3d9075..48bc1db19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -442,7 +442,7 @@ jobs: - name: Run Test Suite run: | ls - love-macos/love.app/Contents/MacOS/love testing --runSpecificModules keyboard --isRunner + love-macos/love.app/Contents/MacOS/love ./testing/main.lua --runAllTests --isRunner - name: Love Test Report id: report1 uses: ellraiser/love-test-report@main diff --git a/testing/conf.lua b/testing/conf.lua index d1541bb90..787650a49 100644 --- a/testing/conf.lua +++ b/testing/conf.lua @@ -1,7 +1,4 @@ -print("abc") - function love.conf(t) - print("def") t.console = true t.window.name = 'love.test' t.window.width = 360 @@ -9,10 +6,5 @@ function love.conf(t) t.window.resizable = true t.window.depth = true t.window.stencil = true - t.window = nil - t.modules.graphics = false - t.modules.window = false - t.modules.joystick = false - t.modules.audio = false t.renderers = {"opengl"} end diff --git a/testing/main.lua b/testing/main.lua index 2af612e0b..6c7b26165 100644 --- a/testing/main.lua +++ b/testing/main.lua @@ -1,7 +1,3 @@ -print("hello world") -io.flush() -os.exit() - -- load test objs require('classes.TestSuite') require('classes.TestModule') @@ -37,7 +33,6 @@ if love.window ~= nil then require('tests.window') end -- love.load -- load given arguments and run the test suite love.load = function(args) - love.event.quit() -- setup basic img to display if love.window ~= nil then