glslang
glslang copied to clipboard
Improve gtest infra and add include file test
- Add includer to gtest for include file tests.
- Move some tests from legacy script to gtest.
- Turn on debug info flag for non-semantic debug test.
This is the infra part of change from https://github.com/KhronosGroup/glslang/pull/3513
Part of this is addressed by #3375 which I am going to actually merge shortly because I finally figured out the line endings issue, so you're going to have to rebase this, but you also should have fewer CI problems.
Okay. I'll rebase after that one is merged.
The other change has been merged now.
Looks like more line ending problems, ugh.
Looks like the failures are line ending issues, make sure you're adding both the test file and the result file with line endings that are consistent between the two of them, I think probably unix line endings would work better in this case.
Yeah, I guessed the same. I'm quite busy with some other deadline recently and I'll get back to this tomorrow.
@arcady-lunarg sorry to get back to this late. I have addressed the line-ending issue for all test files. Please help review and squash with the following commit message.
Improve gtest infra for includer support and add include file test
- Add includer to gtest for include file tests.
- Move some tests from legacy script to gtest.
@qingyuanzNV I think you need to move the test back to the runtests script, it is there because it gets run twice with different command line options, for one thing one version is run with -G
and the other with -V
.