diff options
author | Matthew Olsson <matthewcolsson@gmail.com> | 2020-06-25 15:35:20 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-26 12:40:07 +0200 |
commit | 53f1090b861cef6996ac8e54139c0fe64477d784 (patch) | |
tree | 5530cf057dc07353d475bd959528a87d54d04021 /Libraries/LibJS/AST.cpp | |
parent | 981f40328700361e0f1da218cbd64b98463fce2f (diff) | |
download | serenity-53f1090b861cef6996ac8e54139c0fe64477d784.zip |
LibJS: run-test.sh emits test output if it is not "PASS"
Previously, debugging a test with console.log statements was impossible,
because it would just cause the test to fail with no additional output.
Now, if the output of a test is not "PASS", the output will be printed
under the line where the test failed.
Empty output will have a special message attached to it -- useful when
a test author has forgotten to include `console.log("PASS")` at the end
of a test.
Diffstat (limited to 'Libraries/LibJS/AST.cpp')
0 files changed, 0 insertions, 0 deletions