Link in Google Test framework.
The existing test harness is a homemade shell script. All the tests
and the expected results are written in plain text files. The harness
just reads in a test, invoke the glslangValidator binary on it, and
compare the result with the golden file. All tests are kinda
integration tests.
This patch add Google Test as an external project, which provides a
new harness for reading shader source files, compile to SPIR-V, and
then compare with the expected output.
Showing
External/CMakeLists.txt
0 → 100644
StandAlone/DefaultResourceLimits.cpp
0 → 100644
This diff is collapsed.
Click to expand it.
StandAlone/DefaultResourceLimits.h
0 → 100644
Test/baseResults/spv.330.geom.out
100755 → 100644
File mode changed from 100755 to 100644
Test/baseResults/spv.test.frag.out
100755 → 100644
File mode changed from 100755 to 100644
Test/baseResults/spv.test.vert.out
100755 → 100644
File mode changed from 100755 to 100644
gtests/AST.FromFile.cpp
0 → 100644
gtests/BuiltInResource.FromFile.cpp
0 → 100644
gtests/CMakeLists.txt
0 → 100644
gtests/Initializer.h
0 → 100644
gtests/Pp.FromFile.cpp
0 → 100644
gtests/README.md
0 → 100644
gtests/Settings.cpp
0 → 100644
gtests/Settings.h
0 → 100644
gtests/Spv.FromFile.cpp
0 → 100644
gtests/TestFixture.cpp
0 → 100644
gtests/TestFixture.h
0 → 100644
This diff is collapsed.
Click to expand it.
gtests/main.cpp
0 → 100644
Please
register
or
sign in
to comment