mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
finish graphics module + HTML image comparison
- added mostly all graphics draw tests - added a basic set of "expected" images (generated from successful tests) - HTML output now shows the expected vs actual generated images for each of the graphics tests applicable
This commit is contained in:
@@ -187,8 +187,6 @@ TestSuite = {
|
||||
'<li>🟡 ' .. tostring(self.totals[3]) .. ' Skipped</li>' ..
|
||||
'<li>' .. finaltime .. 's</li></ul><br/><br/>'
|
||||
|
||||
-- @TODO use mountFullPath to write output to src?
|
||||
love.filesystem.mountFullPath(love.filesystem.getSource() .. "/output", "tempoutput", "readwrite")
|
||||
love.filesystem.write('tempoutput/' .. self.output .. '.xml', xml .. self.xml .. '</testsuites>')
|
||||
love.filesystem.write('tempoutput/' .. self.output .. '.html', html .. self.html .. '</div></body></html>')
|
||||
love.filesystem.write('tempoutput/' .. self.output .. '.md', md)
|
||||
|
||||
Reference in New Issue
Block a user