mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
test-fixed: fix CI for ubuntu-tcc
This commit is contained in:
parent
15f4594e44
commit
001e0b828a
@ -41,12 +41,14 @@ const (
|
|||||||
'vlib/v/tests/typeof_test.v',
|
'vlib/v/tests/typeof_test.v',
|
||||||
'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only
|
'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only
|
||||||
'vlib/v/tests/pointers_str_test.v',
|
'vlib/v/tests/pointers_str_test.v',
|
||||||
|
'vlib/v/tests/live_test.v', // Linux & Solaris only, but since live does not work with v2, just skip everywhere
|
||||||
|
'vlib/v/tests/asm_test.v', // skip everywhere for now
|
||||||
|
]
|
||||||
|
skip_on_linux = [
|
||||||
|
'vlib/clipboard/clipboard_test.v',
|
||||||
]
|
]
|
||||||
skip_on_non_linux = [
|
skip_on_non_linux = [
|
||||||
'vlib/clipboard/clipboard_test.v', // Linux only
|
'vlib/sqlite/sqlite_test.v',
|
||||||
'vlib/sqlite/sqlite_test.v', // Linux only
|
|
||||||
'vlib/v/tests/asm_test.v', // Linux only
|
|
||||||
'vlib/v/tests/live_test.v', // Linux only
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -66,6 +68,9 @@ fn main() {
|
|||||||
$if !linux {
|
$if !linux {
|
||||||
tsession.skip_files << skip_on_non_linux
|
tsession.skip_files << skip_on_non_linux
|
||||||
}
|
}
|
||||||
|
$if linux {
|
||||||
|
tsession.skip_files << skip_on_linux
|
||||||
|
}
|
||||||
tsession.test()
|
tsession.test()
|
||||||
eprintln(tsession.benchmark.total_message(title))
|
eprintln(tsession.benchmark.total_message(title))
|
||||||
if tsession.benchmark.nfail > 0 {
|
if tsession.benchmark.nfail > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user