Skip to content

Commit 1d52a72

Browse files
Return proper result for BB tests
Signed-off-by: Kamil Diedrich <[email protected]>
1 parent 21ef249 commit 1d52a72

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

level_zero/core/test/black_box_tests/zello_copy_fence.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ int main(int argc, char *argv[]) {
105105

106106
SUCCESS_OR_TERMINATE(zeContextDestroy(context));
107107
std::cout << "\nZello Copy Fence Results validation " << (outputValidationSuccessful ? "PASSED" : "FAILED") << "\n";
108-
return 0;
108+
return (outputValidationSuccessful ? 0 : 1);
109109
}

level_zero/core/test/black_box_tests/zello_copy_image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@ int main(int argc, char *argv[]) {
124124

125125
SUCCESS_OR_TERMINATE(zeContextDestroy(context));
126126
std::cout << "\nZello Copy Image Results validation " << (outputValidationSuccessful ? "PASSED" : "FAILED") << "\n";
127-
return 0;
127+
return (outputValidationSuccessful ? 0 : 1);
128128
}

level_zero/core/test/black_box_tests/zello_copy_only.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,5 +559,5 @@ int main(int argc, char *argv[]) {
559559

560560
SUCCESS_OR_TERMINATE(zeContextDestroy(context));
561561
std::cout << "\nZello Copy Only Results validation " << (outputValidationSuccessful ? "PASSED" : "FAILED") << "\n";
562-
return 0;
562+
return (outputValidationSuccessful ? 0 : 1);
563563
}

0 commit comments

Comments
 (0)