ci: fix vweb_run_at.run.out and vweb_run_at.skip_unused.run.out, ensure stable ordering of stdout/stderr for v run file.v, in case of compiling a program with warnings/notices.

This commit is contained in:
Delyan Angelov 2025-03-02 18:30:01 +02:00
parent 8f844ea313
commit 1b136e213a
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
3 changed files with 3 additions and 3 deletions

View file

@ -59,13 +59,13 @@ const external_tools = [
const list_of_flags_that_allow_duplicates = ['cc', 'd', 'define', 'cf', 'cflags'] const list_of_flags_that_allow_duplicates = ['cc', 'd', 'define', 'cf', 'cflags']
fn main() { fn main() {
unbuffer_stdout()
mut timers_should_print := false mut timers_should_print := false
$if time_v ? { $if time_v ? {
timers_should_print = true timers_should_print = true
} }
if '-show-timings' in os.args { if '-show-timings' in os.args {
timers_should_print = true timers_should_print = true
unbuffer_stdout()
} }
mut timers := util.new_timers(should_print: timers_should_print, label: 'main') mut timers := util.new_timers(should_print: timers_should_print, label: 'main')
timers.start('v start') timers.start('v start')

View file

@ -1,2 +1,2 @@
done
`vweb` has been deprecated. Please use the more stable and fast `veb` instead. `vweb` has been deprecated. Please use the more stable and fast `veb` instead.
done

View file

@ -1,2 +1,2 @@
done
`vweb` has been deprecated. Please use the more stable and fast `veb` instead. `vweb` has been deprecated. Please use the more stable and fast `veb` instead.
done