Home
last modified time | relevance | path

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

/bionic/tests/
Dclang_fortify_tests.cpp142 #define DIE_WITH(expr, cond, regex) EXPECT_EXIT(ExitAfter([&] { (expr); }), cond, regex) macro
147 #define EXPECT_NO_DEATH(expr) DIE_WITH(expr, testing::ExitedWithCode(0), "")
148 #define EXPECT_FORTIFY_DEATH(expr) DIE_WITH(expr, testing::KilledBySignal(SIGABRT), "FORTIFY")