summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests/hpptest.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-17 10:41:20 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-17 10:41:20 +0100
commit991379947d661da604dcb662ce325836291f4df3 (patch)
tree8ad57f838ee872c8f48f8a02c11ae45a7fa86399 /dev/lib/tests/hpptest.hpp
parent1d943dcfcddb68f489c126b1e0df41170287e63d (diff)
parent845958a457898343de40ea12953bf9ea3606d69b (diff)
Merge branch 'develop' of github.com:snupowered-oss/scl into snupowered-oss-develop
Diffstat (limited to 'dev/lib/tests/hpptest.hpp')
-rw-r--r--dev/lib/tests/hpptest.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/lib/tests/hpptest.hpp b/dev/lib/tests/hpptest.hpp
index 5f78179..e32ac85 100644
--- a/dev/lib/tests/hpptest.hpp
+++ b/dev/lib/tests/hpptest.hpp
@@ -7,7 +7,6 @@
#pragma once
-#ifdef OCL_HPPTEST
namespace ocl::hpptest
{
typedef bool condition_type;
@@ -15,7 +14,8 @@ namespace ocl::hpptest
template <condition_type expr = true>
consteval inline void must_pass()
{
+#ifdef OCL_HPPTEST
OCL_HPPTEST_ASSERT(expr);
+#endif
}
} // namespace ocl::hpptest
-#endif