Skip to content

[FIX][Testing] Strip whitespace when parsing testing env flags#20045

Open
Charmve wants to merge 1 commit into
apache:mainfrom
Charmve:fix/strip-testing-env-flags
Open

[FIX][Testing] Strip whitespace when parsing testing env flags#20045
Charmve wants to merge 1 commit into
apache:mainfrom
Charmve:fix/strip-testing-env-flags

Conversation

@Charmve

@Charmve Charmve commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • Strip leading/trailing whitespace for SKIP_SLOW_TESTS, WHEEL_TEST, and CI in tvm.testing.utils.
  • Add _env_truthy() helper used by slow-test and wheel-test skips.

Motivation

CI/K8s env values are often exported with accidental whitespace, which silently disables or mis-parses flags.

Test plan

  • tests/python/testing/test_testing_utils_env.py

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant