CFC-Servers / GLuaTest

An exciting and nimble unit testing framework for GLua projects
https://discord.gg/epJK9Xx3pc
GNU General Public License v3.0
51 stars 2 forks source link

Gamemode filepaths break error context logger. #49

Open morgverd opened 1 year ago

morgverd commented 1 year ago

debug.getinfo returns the test file's absolute path, which for gamemode files starts with gamemodes/<gamemode_name>/.... This path is not valid and should instead be <gamemode_name>/...

This is just a specific edgecase for gamemode files, which are not supported by default anyway (without using GLuaTest_RunTestFiles to insert the tests manually).

brandonsturgeon commented 2 months ago

I think this may be resolved after: https://github.com/CFC-Servers/GLuaTest/pull/54

Could someone confirm?