Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vtest-self: add sandboxed packaging case #21059

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cmd/tools/vtest-self.v
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
spytheman marked this conversation as resolved.
Show resolved Hide resolved
]

// 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'
Expand Down Expand Up @@ -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
}
Expand Down