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

v test-self: support skipping specific tests for amd64/!amd64 (closure_test.v on m1 for now)

This commit is contained in:
Delyan Angelov 2021-08-27 09:47:04 +03:00
parent 16455a7660
commit 5f90d5702e

View File

@ -119,6 +119,13 @@ const (
skip_on_non_macos = [
'do_not_remove',
]
skip_on_amd64 = [
'do_not_remove',
]
skip_on_non_amd64 = [
'vlib/v/tests/closure_test.v' /* not implemented yet */,
'do_not_remove',
]
)
// NB: musl misses openssl, thus the http tests can not be done there
@ -198,6 +205,12 @@ fn main() {
if os.getenv('V_CI_UBUNTU_MUSL').len > 0 {
tsession.skip_files << skip_on_ubuntu_musl
}
$if !amd64 {
tsession.skip_files << skip_on_non_amd64
}
$if amd64 {
tsession.skip_files << skip_on_amd64
}
$if !linux {
tsession.skip_files << skip_on_non_linux
}