jak-project/test/goalc
Tyler Wilding 4d751af38e
logs: replace every fmt::print with a lg call instead (#1368)
Favors the `lg` namespace over `fmt` directly, as this will output the
logs to a file / has log levels.

I also made assertion errors go to a file, this unfortunately means
importing `lg` and hence `fmt` which was attempted to be avoided before.
But I'm not sure how else to do this aspect without re-inventing the
file logging.

We have a lot of commented out prints as well that we should probably
cleanup at some point / switch them to trace level and default to `info`
level.

I noticed the pattern of disabling debug logs behind some boolean,
something to consider cleaning up in the future -- if our logs were more
structured (knowing where they are coming from) then a lot this
boilerplate could be eliminated.

Closes #1358
2022-10-01 11:58:36 -04:00
..
framework Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
source_generated Final polish on the integer tests, time to start converting the rest 2020-10-03 18:32:01 -04:00
source_templates [decompile] subdivide, wind-work, tie-work, bsp, focus (#1897) 2022-09-17 14:58:25 -04:00
CMakeLists.txt Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
README.md Create new categorized test classes, for the most part just a copy of current tests into new framework 2020-10-08 00:06:48 -04:00
test_arithmetic.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_collections.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_compiler.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_control_statements.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_debugger.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
test_game_no_debug.cpp [jak2] goalc supports multiple projects (#1619) 2022-07-06 21:18:08 -04:00
test_goal_kernel.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_goal_kernel2.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_jak2_compiler.cpp [goalc] Fix error when putting #f in an array of symbols (#1804) 2022-08-26 15:54:29 -04:00
test_type_consistency.cpp d/jak2: finish mood-funcs | mood-funcs2 | almost all of mood and airlock (#1842) 2022-09-06 20:35:00 -04:00
test_variables.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_vector_float.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_with_game.cpp [decompile] subdivide, wind-work, tie-work, bsp, focus (#1897) 2022-09-17 14:58:25 -04:00

Some Documentation

TODO!

TODO

  • If it can't make the file successfully, currently the tests just hang
  • How do i share the same fixture (compiler/thread instance), but with different Params. I don't think this is possible...maybe with templates?