ci: skip udp_test.v and tcp_test.v on windows-tcc for now

pull/10454/head
Delyan Angelov 2021-06-14 13:10:20 +03:00
parent 23f28f9336
commit 90d04b0ce6
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import os
import testing import testing
import v.pref import v.pref
const github_job = os.getenv('GITHUB_JOB')
const ( const (
skip_test_files = [ skip_test_files = [
'vlib/context/deadline_test.v' /* sometimes blocks */, 'vlib/context/deadline_test.v' /* sometimes blocks */,
@ -128,6 +130,13 @@ fn main() {
mut tsession := testing.new_test_session(cmd_prefix, true) mut tsession := testing.new_test_session(cmd_prefix, true)
tsession.files << all_test_files.filter(!it.contains('testdata' + os.path_separator)) tsession.files << all_test_files.filter(!it.contains('testdata' + os.path_separator))
tsession.skip_files << skip_test_files tsession.skip_files << skip_test_files
if github_job == 'windows-tcc' {
// TODO: fix these ASAP
tsession.skip_files << 'vlib/net/tcp_test.v'
tsession.skip_files << 'vlib/net/udp_test.v'
}
mut werror := false mut werror := false
mut sanitize_memory := false mut sanitize_memory := false
mut sanitize_address := false mut sanitize_address := false