tools: add -cflags -Werror step to `v test-all`

pull/9605/head
Delyan Angelov 2021-04-05 23:52:39 +03:00
parent d8cb24eef0
commit aa5f733f01
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ fn get_all_commands() []Command {
line: '$vexe -o vtmp cmd/v'
okmsg: 'V can compile itself.'
}
res << Command{
line: '$vexe -o vtmp_werror -cflags -Werror cmd/v'
okmsg: 'V can compile itself with -cflags -Werror too.'
}
res << Command{
line: '$vexe $vargs -progress test-cleancode'
okmsg: 'All important .v files are invariant when processed with `v fmt`'