gencpp/test/Godot
Ed_ 5e79e8ba65 Started to setup for codebase validation tests.
Fleshed out initial version of AST::is_equal( AST* )

Setup the test directory with initial files for each major validation test.
2023-08-22 16:01:50 -04:00
..
Readme.md Started to setup for codebase validation tests. 2023-08-22 16:01:50 -04:00
validate.godot.cpp Started to setup for codebase validation tests. 2023-08-22 16:01:50 -04:00
validate.ps1 Started to setup for codebase validation tests. 2023-08-22 16:01:50 -04:00

Test : Godot full AST reconstruction and compile validation

Note: This validation test has not been implemented yet.

Repo : https://github.com/godotengine/godot

  • Download the Unreal source code
  • Find paths of every header and source file
  • Generate an ast for each file and serialize it to a file called <name of file>.gen.<h/c>
  • Reconstruct the ast from the generated file
  • Compare the original ast to the reconstructed ast
  • If all ASTs are considered valid, overwrite the original files with the generated files
  • Compile the engine.

Currently the most involved test planned for the library.