summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-05 21:18:35 +0100
committerGitHub <noreply@github.com>2025-11-05 21:18:35 +0100
commit41d4c1f2158be039ad94c09800885aafdafc5f24 (patch)
tree57eb44165e6008a3561970f5f5d86cb686fc2cbe /dev/lib/tests
parent8939837390193e86c52299048caec9c7722178e6 (diff)
parent964f0d8ca36d9333efcfd3136a5cae77dc5dded4 (diff)
Merge pull request #3 from snu-systems-corp/develop
Develop: New URL API.
Diffstat (limited to 'dev/lib/tests')
-rw-r--r--dev/lib/tests/gtest.hpp2
-rw-r--r--dev/lib/tests/hpptest.hpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/dev/lib/tests/gtest.hpp b/dev/lib/tests/gtest.hpp
index deb2ddf..c333d2c 100644
--- a/dev/lib/tests/gtest.hpp
+++ b/dev/lib/tests/gtest.hpp
@@ -5,4 +5,6 @@
* Copyright 2025, Amlal El Mahrouss
*/
+#pragma once
+
#include <gtest/gtest.h>
diff --git a/dev/lib/tests/hpptest.hpp b/dev/lib/tests/hpptest.hpp
index 87d8f77..63fc962 100644
--- a/dev/lib/tests/hpptest.hpp
+++ b/dev/lib/tests/hpptest.hpp
@@ -7,7 +7,6 @@
#pragma once
-#ifdef OCL_HPPTEST
namespace scl::hpptest
{
typedef bool condition_type;
@@ -15,7 +14,8 @@ namespace scl::hpptest
template <condition_type expr = true>
consteval inline void must_pass()
{
- OCL_HPPTEST_ASSERT(expr);
+#ifdef SCL_HPPTEST
+ SCL_HPPTEST_ASSERT(expr);
+#endif
}
} // namespace scl::hpptest
-#endif