-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run-vmtest: sched_ext selftests support (#149)
* run-vmtest: sched_ext selftests support * run-vmtest/run.sh: remove umount /tmp command passed to vmtest * test.yml: disable sched_ext tests
- Loading branch information
Showing
6 changed files
with
66 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
source "$(cd "$(dirname "$0")" && pwd)/helpers.sh" | ||
|
||
foldable start selftests/sched_ext "Executing selftests/sched_ext/runner" | ||
|
||
SELFTESTS_DIR="${KERNEL_ROOT}/selftests/sched_ext" | ||
STATUS_FILE=/mnt/vmtest/exitstatus | ||
|
||
cd "${SELFTESTS_DIR}" | ||
./runner "$@" | tee runner.log | ||
|
||
failed=$(tail -n 16 runner.log | grep "FAILED" | awk '{print $2}') | ||
|
||
echo "selftests/sched_ext:$failed" >>"${STATUS_FILE}" | ||
|
||
foldable end selftests/sched_ext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters