From: Francisco Casas fcasas@codeweavers.com
With this, a test that fails because vkd3d_unreacheable() was hit, will now display the error line.
FAIL: tests/hlsl/some-test.shader_test (SM4.0-SM5.1)OpenGL/SPIR-V 43[XF] 79[XF] 126[XF] 149[XF] 159[XF] [AF] vkd3d/libs/vkd3d-shader/hlsl.c:246: Aborting, reached unreachable code. [SIGABRT] Aborted (core dumped) --- tests/test-driver.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/test-driver.sh b/tests/test-driver.sh index 514e38d35..869cc4bee 100755 --- a/tests/test-driver.sh +++ b/tests/test-driver.sh @@ -174,7 +174,11 @@ BEGIN { }
/: Assertion .* failed./ { - print "[AF]" $0 + print "# [AF] <fade>" $0 "<reset>" +} + +/: Aborting, reached unreachable code./ { + print "# [AF] <fade>" $0 "<reset>" }
EOF