Skip to content

Commit 02b8909

Browse files
committed
fix: make style checks fail if either test fails
Since `devtool` does not have `-e`, commands fail but don't fail the test run. Fixes: dfb45dc Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 11b12fa commit 02b8909

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/devtool

+2-2
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ cmd_mkdocs() {
935935
}
936936

937937
cmd_checkstyle() {
938-
cmd_test --no-build --no-kvm-check -- -n 4 --dist worksteal integration_tests/style
939-
cmd_test --no-build --no-kvm-check -- -n 4 --doctest-modules framework
938+
cmd_test --no-build --no-kvm-check -- -n 4 --dist worksteal integration_tests/style || exit 1
939+
cmd_test --no-build --no-kvm-check -- -n 4 --doctest-modules framework || exit 1
940940
}
941941

942942
# Check if able to run firecracker.

0 commit comments

Comments
 (0)