Skip to content

Commit 36f1750

Browse files
authored
vtest-self: add sandboxed packaging case (#21059)
1 parent d3d1bc0 commit 36f1750

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cmd/tools/vtest-self.v

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import testing
66
const github_job = os.getenv('GITHUB_JOB')
77

88
const just_essential = os.getenv('VTEST_JUST_ESSENTIAL') != ''
9+
|| os.getenv('VTEST_SANDBOXED_PACKAGING') != ''
910

1011
const essential_list = [
1112
'cmd/tools/vvet/vet_test.v',
@@ -338,6 +339,12 @@ const skip_on_non_amd64_or_arm64 = [
338339
'vlib/sync/many_times_test.v',
339340
'do_not_remove',
340341
]
342+
const skip_on_sandboxed_packaging = [
343+
'do_not_remove',
344+
'vlib/v/slow_tests/inout/compiler_test.v',
345+
'vlib/v/compiler_errors_test.v',
346+
'vlib/v/gen/c/coutput_test.v',
347+
]
341348

342349
// Note: musl misses openssl, thus the http tests can not be done there
343350
// Note: http_httpbin_test.v: fails with 'cgen error: json: map_string_string is not struct'
@@ -444,6 +451,9 @@ fn main() {
444451
if os.getenv('V_CI_UBUNTU_MUSL').len > 0 {
445452
tsession.skip_files << skip_on_ubuntu_musl
446453
}
454+
if os.getenv('VTEST_SANDBOXED_PACKAGING').len > 0 {
455+
tsession.skip_files << skip_on_sandboxed_packaging
456+
}
447457
$if !amd64 && !arm64 {
448458
tsession.skip_files << skip_on_non_amd64_or_arm64
449459
}

0 commit comments

Comments
 (0)