File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 continue-on-error : true
3939 - name : run cpython tests
4040 run : |
41- # run test_importlib separately, otherwise it hangs (?)
42- LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v test_importlib
43- LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v -x test_importlib
41+ alltests=($(target/release/rustpython -c 'from test.libregrtest.runtest import findtests; print(*findtests())'))
42+ i=0
43+ # chunk into chunks of 10 tests each. idk at this point
44+ while subtests=("${alltests[@]:$i:10}"); [[ ${#subtests[@]} -eq 0 ]]; do
45+ LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v "${subtests[@]}"
46+ done
4447 continue-on-error : true
4548 - name : prepare code coverage data
4649 run : |
You can’t perform that action at this time.
0 commit comments