Skip to content

Commit 26757d5

Browse files
authored
test-features: failure exit code if tests fail (#1649)
1 parent 096f578 commit 26757d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vcpkg/commands.test-features.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,6 @@ namespace vcpkg
595595

596596
binary_cache.wait_for_async_complete_and_join();
597597

598-
Checks::exit_success(VCPKG_LINE_INFO);
598+
Checks::exit_with_code(VCPKG_LINE_INFO, unexpected_states.empty() ? EXIT_SUCCESS : EXIT_FAILURE);
599599
}
600600
}

0 commit comments

Comments
 (0)