Ticket #4419: fix_xml_output.patch
File fix_xml_output.patch, 659 bytes (added by , 7 years ago) |
---|
-
binaries/data/tests/test_setup.js
8 8 function fail(msg) 9 9 { 10 10 // Get a list of callers 11 vartrace = (new Error).stack.split("\n");11 let trace = (new Error).stack.split("\n"); 12 12 // Remove the Error ctor and this function from the stack 13 13 trace = trace.splice(2); 14 print("Stack trace:\n" + trace.join("\n"));15 Engine.TS_FAIL( msg);14 trace = "Stack trace:\n" + trace.join("\n"); 15 Engine.TS_FAIL(trace + msg); 16 16 } 17 17 18 18 global.TS_FAIL = function TS_FAIL(msg)