Skip to content

Commit

Permalink
full test
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Feb 25, 2024
1 parent cdba82a commit c5012c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions testing/conf.lua
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
print("abc")

function love.conf(t)
print("def")
t.console = true
t.window.name = 'love.test'
t.window.width = 360
t.window.height = 240
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
5 changes: 0 additions & 5 deletions testing/main.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
print("hello world")
io.flush()
os.exit()

-- load test objs
require('classes.TestSuite')
require('classes.TestModule')
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c5012c5

Please sign in to comment.