You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hack/lib/cmd.sh
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -198,8 +198,16 @@ function os::cmd::internal::expect_exit_code_run_grep() {
198
198
fi
199
199
local test_succeeded=$(${test_eval_func}"${test_result}";echo$?)
200
200
201
-
local end_time=$(os::cmd::internal::seconds_since_epoch)
202
-
local time_elapsed=$(echo "scale=3; ${end_time} - ${start_time}"| bc | xargs printf'%5.3f')# in decimal seconds, we need leading zeroes for parsing later
201
+
if((! test_succeeded ));then
202
+
os::text::print_blue "[DEBUG] Output content test failed. Debugging information follows:"
local end_time=$(os::cmd::internal::seconds_since_epoch)
210
+
local time_elapsed=$(echo "scale=3; ${end_time} - ${start_time}"| bc | xargs printf'%5.3f')# in decimal seconds, we need leading zeroes for parsing later
203
211
204
212
# clear the preamble so we can print out the success or error message
0 commit comments