1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 22:12:06 +00:00
serenity/Libraries/LibJS
Matthew Olsson 53f1090b86 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.
2020-06-26 12:40:07 +02:00
..
Heap LibJS: Move native objects towards two-pass construction 2020-06-20 15:46:30 +02:00
Runtime LibJS: to_string_without_side_effects() should handle NativeProperty 2020-06-26 00:53:25 +02:00
Tests LibJS: run-test.sh emits test output if it is not "PASS" 2020-06-26 12:40:07 +02:00
AST.cpp LibJS: Pass GlobalObject& to Reference get/put 2020-06-20 17:50:48 +02:00
AST.h LibJS: Pass GlobalObject& to AST node execute() functions 2020-06-08 21:12:20 +02:00
CMakeLists.txt LibJS: Add JSON.stringify 2020-06-13 12:43:22 +02:00
Console.cpp LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Console.h LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Forward.h LibJS: Make NativeProperty a plain Cell instead of an Object 2020-06-23 17:56:57 +02:00
Interpreter.cpp LibJS: Make Interpreter::construct() take a GlobalObject& 2020-06-20 17:53:33 +02:00
Interpreter.h LibJS: Make Interpreter::construct() take a GlobalObject& 2020-06-20 17:53:33 +02:00
Lexer.cpp LibJS: Move regex logic to main Lexer if statement 2020-06-08 09:18:27 +02:00
Lexer.h LibJS: Lex and parse regex literals, add RegExp objects 2020-06-07 19:06:55 +02:00
MarkupGenerator.cpp LibJS: Add BigInt 2020-06-07 19:29:40 +02:00
MarkupGenerator.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
Parser.cpp LibJS: Add BigInt 2020-06-07 19:29:40 +02:00
Parser.h LibJS: Lex and parse regex literals, add RegExp objects 2020-06-07 19:06:55 +02:00
Token.cpp LibJS: Fix out-of-bounds read when parsing escape sequences 2020-06-01 17:37:44 +02:00
Token.h LibJS: Add BigInt 2020-06-07 19:29:40 +02:00