diff --git a/util/test/demos/test_common.cpp b/util/test/demos/test_common.cpp index bec950efe..1fa800f4f 100644 --- a/util/test/demos/test_common.cpp +++ b/util/test/demos/test_common.cpp @@ -527,6 +527,10 @@ std::vector CompileShaderToSpv(const std::string &source_text, SPIRVTa fread(&ret[0], sizeof(uint32_t), ret.size(), f); fclose(f); } + else + { + TEST_ERROR("Failed to run compiler:\n%s", command_line.c_str()); + } unlink(infile.c_str()); unlink(outfile.c_str());