File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 38
38
continue-on-error : true
39
39
- name : run cpython tests
40
40
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
44
47
continue-on-error : true
45
48
- name : prepare code coverage data
46
49
run : |
You can’t perform that action at this time.
0 commit comments