Files
rocm-systems/projects/rocr-runtime/runtime/hsa-ext-aql-profile/test/ctrl/test_assert.h
T
Evgeny 7892cc861c Block list extending
Change-Id: Id17efde25fce287296e80f2b37c77b15aa59b561


[ROCm/ROCR-Runtime commit: c533229bc1]
2017-06-23 16:37:02 -04:00

14 righe
788 B
C++

#ifndef _TEST_ASSERT_H_
#define _TEST_ASSERT_H_
#define test_assert(cond) \
{ \
if (!(cond)) { \
std::cout << "ASSERT FAILED(" << #cond << ") at \"" << __FILE__ << "\" line " << __LINE__ \
<< std::endl; \
abort(); \
} \
}
#endif // _TEST_ASSERT_H_