Skip to content

Commit

Permalink
ci: fix vweb_run_at.run.out and vweb_run_at.skip_unused.run.out, ensu…
Browse files Browse the repository at this point in the history
…re stable ordering of stdout/stderr for `v run file.v`, in case of compiling a program with warnings/notices.
  • Loading branch information
spytheman committed Mar 2, 2025
1 parent 8f844ea commit 1b136e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/v/v.v
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ const external_tools = [
const list_of_flags_that_allow_duplicates = ['cc', 'd', 'define', 'cf', 'cflags']

fn main() {
unbuffer_stdout()
mut timers_should_print := false
$if time_v ? {
timers_should_print = true
}
if '-show-timings' in os.args {
timers_should_print = true
unbuffer_stdout()
}
mut timers := util.new_timers(should_print: timers_should_print, label: 'main')
timers.start('v start')
Expand Down
2 changes: 1 addition & 1 deletion vlib/v/tests/skip_unused/vweb_run_at.run.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
done
`vweb` has been deprecated. Please use the more stable and fast `veb` instead.
done
2 changes: 1 addition & 1 deletion vlib/v/tests/skip_unused/vweb_run_at.skip_unused.run.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
done
`vweb` has been deprecated. Please use the more stable and fast `veb` instead.
done

0 comments on commit 1b136e2

Please sign in to comment.