File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 - {"test": "test_progs_no_alu32", "continue_on_error": false, "timeout_minutes": 360}
2929 - {"test": "test_verifier", "continue_on_error": false, "timeout_minutes": 360}
3030 - {"test": "test_maps", "continue_on_error": false, "timeout_minutes": 360}
31- # - {"test": "sched_ext", "continue_on_error": false, "timeout_minutes": 360}
31+ - {"test": "sched_ext", "continue_on_error": false, "timeout_minutes": 360}
3232 # - {"test": "test_progs-bpf_gcc", "continue_on_error": false, "timeout_minutes": 360}
3333 fail-fast : false
3434
Original file line number Diff line number Diff line change @@ -10,13 +10,18 @@ cd "${SELFTESTS_DIR}"
1010echo " Executing selftests/sched_ext/runner"
1111echo " runner output is being written to runner.log"
1212
13- ./runner " $@ " 2>&1 > runner.log & wait
13+ ./runner > runner.log 2>&1 || true
1414
1515echo " runner finished, check results"
1616echo " [...]"
1717tail -n 16 runner.log
1818
19- failed=$( tail -n 16 runner.log | grep " FAILED" | awk ' {print $2}' )
19+ failed=$( tail -n 16 runner.log | grep " ^FAILED:" | awk ' {print $2}' || echo " " )
20+
21+ if [ -z " $failed " ]; then
22+ echo " ERROR: Could not parse runner output, assuming failure"
23+ failed=1
24+ fi
2025
2126if [ " $failed " -gt 0 ]; then
2227 echo " Tests failed, dumping full runners log and dmesg"
You can’t perform that action at this time.
0 commit comments