[CI Problem] python unit tests only run the cases in the arith folder #16510
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type:ci
Relates to TVM CI infrastructure
The ArmChina team recently synchronized the community's new code and found that python's unittest was split from one folder into multiple folders and traversed multiple folders to run in the bash script(tests/scripts/task_python_unittest.sh).
But in line 57, we found that if the for statement is written like this, only the first element in the array will be looped. In other words, running this script will only run the test cases in the arith folder.
We found a recent pipeline to verify the behavior of this script, and indeed only the test cases in the arith folder were run:
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-cpu/detail/main/1311/pipeline/91/
Is it intentional to write this way or are there other considerations?
@Hzfengsy @tqchen @Johnson9009
Branch/PR Failing
None
Jenkins Link
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-cpu/detail/main/1311/pipeline/91/
Flakiness
None
Triage
The text was updated successfully, but these errors were encountered: