forked from kernel-patches/vmtest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/vmtest: sync scripts with libbpf/ci#149
Signed-off-by: Ihor Solodrai <[email protected]>
- Loading branch information
Showing
5 changed files
with
29 additions
and
10 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
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