modify ShaderTest.cpp not crah to autotest.
[ci skip], delete ShaderFail sample in ShaderTest.cpp.
Merge pull request #6167 from shujunqiao/testcpp-shader

delete ShaderFail sample in ShaderTest.cpp. It's needed for `autotest`.