Add shader-jit unit-tests ()

* Rename `dynapica` TU to `shader`

These unit-tests in particular only actually test
the shader-interpreter and not any of the JITs.

* Conditionally test the shader-jit

In the case that the host supports the shader-jit, the interpreter and the shader-jit will both be tested with the same unit-tests. Allowing for even more coverage.

* Remove weird git submodule
This commit is contained in:
Wunk 2024-03-11 17:29:58 -07:00 committed by GitHub
commit fe9939689d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 58 additions and 28 deletions

View file

@ -534,7 +534,7 @@ if(ENABLE_TESTS)
target_include_directories(nihstro-headers SYSTEM INTERFACE ./third_party/nihstro/include)
add_executable(AlberTests
tests/dynapica.cpp
tests/shader.cpp
)
target_link_libraries(
AlberTests