mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vtest-self: add sandboxed packaging case (#21059)
This commit is contained in:
parent
d3d1bc08c0
commit
36f1750de7
1 changed files with 10 additions and 0 deletions
|
@ -6,6 +6,7 @@ import testing
|
|||
const github_job = os.getenv('GITHUB_JOB')
|
||||
|
||||
const just_essential = os.getenv('VTEST_JUST_ESSENTIAL') != ''
|
||||
|| os.getenv('VTEST_SANDBOXED_PACKAGING') != ''
|
||||
|
||||
const essential_list = [
|
||||
'cmd/tools/vvet/vet_test.v',
|
||||
|
@ -338,6 +339,12 @@ const skip_on_non_amd64_or_arm64 = [
|
|||
'vlib/sync/many_times_test.v',
|
||||
'do_not_remove',
|
||||
]
|
||||
const skip_on_sandboxed_packaging = [
|
||||
'do_not_remove',
|
||||
'vlib/v/slow_tests/inout/compiler_test.v',
|
||||
'vlib/v/compiler_errors_test.v',
|
||||
'vlib/v/gen/c/coutput_test.v',
|
||||
]
|
||||
|
||||
// Note: musl misses openssl, thus the http tests can not be done there
|
||||
// Note: http_httpbin_test.v: fails with 'cgen error: json: map_string_string is not struct'
|
||||
|
@ -444,6 +451,9 @@ fn main() {
|
|||
if os.getenv('V_CI_UBUNTU_MUSL').len > 0 {
|
||||
tsession.skip_files << skip_on_ubuntu_musl
|
||||
}
|
||||
if os.getenv('VTEST_SANDBOXED_PACKAGING').len > 0 {
|
||||
tsession.skip_files << skip_on_sandboxed_packaging
|
||||
}
|
||||
$if !amd64 && !arm64 {
|
||||
tsession.skip_files << skip_on_non_amd64_or_arm64
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue