[CI Problem] python unit tests only run the cases in the arith folder
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
- dev:test-infra
@Hzfengsy We aren't sure if it is a bug, if it is a typo bug, I think we need fix it and check if the Unity branch transformation haven't run these tests too.
Thanks @liushengjiezj for finding this. It's a bug with no doubt and it fails even after the unity transition.
Could you please send a patch to fix it?
@liushengjiezj Please help to send a patch to change all these thing we find, thanks.