diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-26 12:04:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-26 12:04:54 -0700 |
| commit | 3f316dcbd9274efc74f817cf36f17a511ff2e21e (patch) | |
| tree | 185210d30a7887df823bb0c6d817d3feb2ebe675 /tools/slang-test/main.cpp | |
| parent | d506737b8b00bcc89adf937994ceb6df4509c98a (diff) | |
| parent | 07f9b9ec7c9be6a0eff65ef327d2a0fee262aed7 (diff) | |
Merge pull request #42 from tfoleyNV/reflect-imported
Reflect imported code
Diffstat (limited to 'tools/slang-test/main.cpp')
| -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 3d193dad4..7a0cac3ce 100644 --- a/tools/slang-test/main.cpp +++ b/tools/slang-test/main.cpp @@ -656,6 +656,16 @@ TestResult runSimpleTest(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; |
