diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-08-25 20:13:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-25 20:13:19 -0700 |
| commit | 227f9f5a9d8ac0d88079b6175b3f31c8f05fabd0 (patch) | |
| tree | 48f73703ca00c91ab23cd3750ac42ac71feca9a2 /tools | |
| parent | 7e05e062a0b7c39dbce6e850227d2038aca2f38e (diff) | |
| parent | c077a08652377194f9076fc41b1b3793301b25ae (diff) | |
Merge pull request #173 from tfoleyNV/resources-in-structs-fixes
Fix some resources-in-structs bugs
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/slang-test/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/slang-test/main.cpp b/tools/slang-test/main.cpp index 6b7da5844..6ee255571 100644 --- a/tools/slang-test/main.cpp +++ b/tools/slang-test/main.cpp @@ -873,6 +873,16 @@ TestResult runHLSLComparisonTest(TestInput& input) { String actualOutputPath = outputStem + ".actual"; Slang::File::WriteAllText(actualOutputPath, actualOutput); + + if (options.outputMode == kOutputMode_AppVeyor) + { + fprintf(stderr, "ERROR:\n" + "EXPECTED{{{\n%s}}}\n" + "ACTUAL{{{\n%s}}}\n", + expectedOutput.Buffer(), + actualOutput.Buffer()); + fflush(stderr); + } } return result; |
