titan-lang / titan

The Titan programming language
http://titan-lang.org
MIT License
406 stars 13 forks source link

Get rid of luassert dependency in coder tests #170

Closed hugomg closed 6 years ago

hugomg commented 6 years ago

The coder tests run in our patched version of Lua and being able to require additional dependencies is tricky. This should let Travis run the coder tests again.

The first time this bit us was in Travis, which sets the LUA_PATH to ignore the system stuff and today I was bit again by this when I tried to update our Lua to 5.4 (because my system Luassert is installed in a 5.3 path)

codecov-io commented 6 years ago

Codecov Report

Merging #170 into lablua will increase coverage by 24.5%. The diff coverage is n/a.

Impacted Files Coverage Δ
titan-compiler/checker.lua 90.11% <0%> (+2.35%) :arrow_up:
titan-compiler/util.lua 75% <0%> (+5.55%) :arrow_up:
titan-compiler/c_compiler.lua 92.5% <0%> (+58.28%) :arrow_up:
titan-compiler/coder.lua 80% <0%> (+75.22%) :arrow_up:
titan-compiler/pretty.lua 100% <0%> (+87.5%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 54bf816...a3cd617. Read the comment docs.