We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a36bf9 commit 972d5d7Copy full SHA for 972d5d7
bazel/test_runners/qemu_with_kernel/launcher.sh
@@ -25,6 +25,13 @@ RUN_QEMU_SCRIPT=%runqemuscript%
25
# Create a tmp directory that serves as the /test_fs sanbox dir inside qemu.
26
tmpdir_for_sandbox=$(mktemp -d)
27
28
+# This file must be modified to signal to bazel that the qemu runner supports sharding.
29
+# Since this runner leverages bazel's test runner and only runs supported binaries
30
+# (googletest tests), we fulfill the requirement by touching this file.
31
+if [ -n "${TEST_SHARD_STATUS_FILE}" ]; then
32
+ touch "${TEST_SHARD_STATUS_FILE}"
33
+fi
34
+
35
# shellcheck disable=SC2317
36
function cleanup {
37
retval=$?
0 commit comments