Skip to content

Commit 92f8bef

Browse files
author
Jacob Lacouture
committed
stderr
1 parent d54345b commit 92f8bef

File tree

3 files changed

+69
-79
lines changed

3 files changed

+69
-79
lines changed

.github/actions/compilers/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ inputs:
3030
# to optimize binaries. Also GitHub Actions run on relatively modern CPUs
3131
# compared to, say, GCC 4 or Clang 3. We don't specify `-march=native`
3232
# because compilers tend not understand what the CPU is.
33-
default: '-O0 -fno-omit-frame-pointer -fno-optimize-sibling-calls'
33+
default: '-O1'
3434
description: >-
3535
Compiler flags for optimisations.
3636

bootstraptest/runner.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def show_progress(message = '')
597597
$stderr.print BT.reset
598598
$stderr.puts if BT.verbose
599599
show_error faildesc, message
600-
unless errout.empty?
600+
unless errout.gsub(/RDB: .*?\n/,'').empty?
601601
$stderr.print "#{BT.failed}stderr output is not empty#{BT.reset}\n", adjust_indent(errout)
602602
end
603603

@@ -637,7 +637,7 @@ def get_result_string(opt = '', timeout: BT.timeout, **argh)
637637
pid = out.pid
638638
th = Thread.new {out.read.tap {Process.waitpid(pid); out.close}}
639639
if th.join(timeout)
640-
th.value
640+
th.value.gsub(/RDB: .*?\n/,'')
641641
else
642642
Timeout.new("timed out after #{timeout} seconds")
643643
end
@@ -651,7 +651,7 @@ def get_result_string(opt = '', timeout: BT.timeout, **argh)
651651
end
652652
end
653653
else
654-
eval(src).to_s
654+
eval(src).to_s.gsub(/RDB: .*?\n/,'')
655655
end
656656
end
657657

0 commit comments

Comments
 (0)