mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
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:
parent
8f844ea313
commit
1b136e213a
3 changed files with 3 additions and 3 deletions
|
@ -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')
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue