v test-self: support skipping specific tests for amd64/!amd64 (closure_test.v on m1 for now)
parent
16455a7660
commit
5f90d5702e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue