1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v test-fmt: skip os.v, linuxsys_bare.v, life.v for now

This commit is contained in:
Delyan Angelov 2020-10-14 23:49:12 +03:00
parent 5a11b87097
commit 5dd34c3a8a

View File

@ -4,34 +4,38 @@ import os
import testing import testing
const ( const (
known_failing_exceptions = ['./examples/vweb/vweb_example.v', known_failing_exceptions = [
'./cmd/tools/gen_vc.v', './examples/vweb/vweb_example.v',
'./cmd/tools/modules/vgit/vgit.v', // generics './cmd/tools/gen_vc.v',
'./cmd/tools/preludes/live_main.v', './cmd/tools/modules/vgit/vgit.v', // generics
'./cmd/tools/preludes/live_shared.v', './cmd/tools/preludes/live_main.v',
'./cmd/tools/preludes/tests_assertions.v', './cmd/tools/preludes/live_shared.v',
'./cmd/tools/preludes/tests_with_stats.v', './cmd/tools/preludes/tests_assertions.v',
'./cmd/tools/performance_compare.v', // generics './cmd/tools/preludes/tests_with_stats.v',
'./cmd/tools/oldv.v', // generics './cmd/tools/performance_compare.v', // generics
'./tutorials/code/blog/article.v', './cmd/tools/oldv.v', // generics
'./tutorials/code/blog/blog.v', './tutorials/code/blog/article.v',
'./vlib/arrays/arrays.v', './tutorials/code/blog/blog.v',
'./vlib/arrays/arrays_test.v', './vlib/arrays/arrays.v',
'./vlib/builtin/js/hashmap.v', './vlib/arrays/arrays_test.v',
'./vlib/v/tests/fn_variadic_test.v', './vlib/builtin/js/hashmap.v',
'./vlib/v/tests/generic_test.v', './vlib/v/tests/fn_variadic_test.v',
'./vlib/crypto/aes/aes.v', './vlib/v/tests/generic_test.v',
'./vlib/crypto/aes/aes_cbc.v', './vlib/crypto/aes/aes.v',
'./vlib/crypto/aes/block_generic.v', './vlib/crypto/aes/aes_cbc.v',
'./vlib/crypto/aes/const.v', './vlib/crypto/aes/block_generic.v',
'./vlib/crypto/aes/cypher_generic.v', './vlib/crypto/aes/const.v',
'./vlib/crypto/rc4/rc4.v', './vlib/crypto/aes/cypher_generic.v',
'./vlib/eventbus/eventbus_test.v', './vlib/crypto/rc4/rc4.v',
'./vlib/os/bare/bare_example_linux.v', './vlib/eventbus/eventbus_test.v',
'./vlib/szip/szip.v', './vlib/os/bare/bare_example_linux.v',
'./vlib/uiold/examples/users_gui/users.v', './vlib/szip/szip.v',
'./vlib/vweb/assets/assets.v', './vlib/uiold/examples/users_gui/users.v',
'./vlib/vweb/vweb.v', './vlib/vweb/assets/assets.v',
'./vlib/vweb/vweb.v',
'./vlib/v/gen/js/tests/life.v',
'./vlib/builtin/bare/linuxsys_bare.v',
'./vlib/os/os.v',
] ]
) )
@ -49,7 +53,7 @@ fn v_test_formatting(vargs string) {
vfmt_test_session.test() vfmt_test_session.test()
eprintln(vfmt_test_session.benchmark.total_message('running vfmt over V files')) eprintln(vfmt_test_session.benchmark.total_message('running vfmt over V files'))
if vfmt_test_session.benchmark.nfail > 0 { if vfmt_test_session.benchmark.nfail > 0 {
eprintln('\nWARNING: v fmt failed ${vfmt_test_session.benchmark.nfail} times.\n') eprintln('\nWARNING: v fmt failed $vfmt_test_session.benchmark.nfail times.\n')
exit(1) exit(1)
} }
} }