Home
last modified time | relevance | path

Searched refs:ExitedWithCode (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/flang/unittests/Runtime/
H A DStop.cpp23 EXPECT_EXIT(RTNAME(StopStatement)(), testing::ExitedWithCode(EXIT_SUCCESS), in TEST()
31 RTNAME(StopStatement)(), testing::ExitedWithCode(EXIT_SUCCESS), ""); in TEST()
38 testing::ExitedWithCode(EXIT_SUCCESS), "Fortran STOP: bye bye"); in TEST()
42 testing::ExitedWithCode(EXIT_SUCCESS), ""); in TEST()
46 testing::ExitedWithCode(EXIT_FAILURE), "Fortran ERROR STOP: bye bye"); in TEST()
50 testing::ExitedWithCode(EXIT_FAILURE), ""); in TEST()
59 testing::ExitedWithCode(EXIT_SUCCESS), "bye bye"); in TEST()
63 testing::ExitedWithCode(EXIT_SUCCESS), ""); in TEST()
67 testing::ExitedWithCode(EXIT_FAILURE), "Fortran ERROR STOP: bye bye"); in TEST()
71 testing::ExitedWithCode(EXIT_FAILURE), ""); in TEST()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-death-test.h194 class GTEST_API_ ExitedWithCode {
196 explicit ExitedWithCode(int exit_code);
200 void operator=(const ExitedWithCode& other);
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stackdepot_test.cpp101 (StackDepotPrintAll(), exit(0)), ::testing::ExitedWithCode(0), in TEST_F()
104 (StackDepotPrintAll(), exit(0)), ::testing::ExitedWithCode(0), in TEST_F()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-death-test.cc164 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
168 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
232 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DErrorTest.cpp496 ::testing::ExitedWithCode(1), "Error in tool:") in TEST()
500 ::testing::ExitedWithCode(2), "Error in tool:") in TEST()
H A DPath.cpp620 ::testing::ExitedWithCode(0), path2regex(expected))
/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanTest.cpp1120 testing::ExitedWithCode(0), "WIDEN ir<%a> = add ir<1>, ir<2>"); in TEST()
1129 testing::ExitedWithCode(0), "WIDEN ir<%a> = add ir<1>, ir<2>"); in TEST()
1138 testing::ExitedWithCode(0), "WIDEN ir<%a> = add ir<1>, ir<2>"); in TEST()