Răsfoiți Sursa

test: setup stl_ext tests

skypjack 1 săptămână în urmă
părinte
comite
bd689292e9

+ 29 - 18
test/CMakeLists.txt

@@ -381,26 +381,37 @@ SETUP_BASIC_TEST(
 SETUP_BASIC_TEST(
     NAME stl
     SOURCES
-        entt/stl/algorithm.cpp
-        entt/stl/array.cpp
-        entt/stl/atomic.cpp
-        entt/stl/bit.cpp
-        entt/stl/cmath.cpp
-        entt/stl/concepts.cpp
-        entt/stl/cstddef.cpp
-        entt/stl/cstdint.cpp
         entt/stl/functional.cpp
-        entt/stl/ios.cpp
         entt/stl/iterator.cpp
-        entt/stl/limits.cpp
         entt/stl/memory.cpp
-        entt/stl/ostream.cpp
-        entt/stl/sstream.cpp
-        entt/stl/string.cpp
-        entt/stl/string_view.cpp
-        entt/stl/tuple.cpp
-        entt/stl/type_traits.cpp
-        entt/stl/utility.cpp
-        entt/stl/vector.cpp
     DEFS ENTT_USE_STL
 )
+
+# Test stl_ext
+
+SETUP_BASIC_TEST(
+    NAME stl_ext
+    SOURCES
+        entt/stl_ext/algorithm.cpp
+        entt/stl_ext/array.cpp
+        entt/stl_ext/atomic.cpp
+        entt/stl_ext/bit.cpp
+        entt/stl_ext/cmath.cpp
+        entt/stl_ext/concepts.cpp
+        entt/stl_ext/cstddef.cpp
+        entt/stl_ext/cstdint.cpp
+        entt/stl_ext/functional.cpp
+        entt/stl_ext/ios.cpp
+        entt/stl_ext/iterator.cpp
+        entt/stl_ext/limits.cpp
+        entt/stl_ext/memory.cpp
+        entt/stl_ext/ostream.cpp
+        entt/stl_ext/sstream.cpp
+        entt/stl_ext/string.cpp
+        entt/stl_ext/string_view.cpp
+        entt/stl_ext/tuple.cpp
+        entt/stl_ext/type_traits.cpp
+        entt/stl_ext/utility.cpp
+        entt/stl_ext/vector.cpp
+    INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include
+)

+ 0 - 0
test/entt/stl/algorithm.cpp → test/entt/stl_ext/algorithm.cpp


+ 0 - 0
test/entt/stl/array.cpp → test/entt/stl_ext/array.cpp


+ 0 - 0
test/entt/stl/atomic.cpp → test/entt/stl_ext/atomic.cpp


+ 0 - 0
test/entt/stl/bit.cpp → test/entt/stl_ext/bit.cpp


+ 0 - 0
test/entt/stl/cmath.cpp → test/entt/stl_ext/cmath.cpp


+ 0 - 0
test/entt/stl/concepts.cpp → test/entt/stl_ext/concepts.cpp


+ 0 - 0
test/entt/stl/cstddef.cpp → test/entt/stl_ext/cstddef.cpp


+ 0 - 0
test/entt/stl/cstdint.cpp → test/entt/stl_ext/cstdint.cpp


+ 0 - 0
test/entt/stl/ios.cpp → test/entt/stl_ext/functional.cpp


+ 0 - 0
test/entt/stl/limits.cpp → test/entt/stl_ext/ios.cpp


+ 0 - 0
test/entt/stl/ostream.cpp → test/entt/stl_ext/iterator.cpp


+ 0 - 0
test/entt/stl/sstream.cpp → test/entt/stl_ext/limits.cpp


+ 0 - 0
test/entt/stl/string.cpp → test/entt/stl_ext/memory.cpp


+ 0 - 0
test/entt/stl/string_view.cpp → test/entt/stl_ext/ostream.cpp


+ 0 - 0
test/entt/stl/tuple.cpp → test/entt/stl_ext/sstream.cpp


+ 0 - 0
test/entt/stl/type_traits.cpp → test/entt/stl_ext/string.cpp


+ 0 - 0
test/entt/stl/utility.cpp → test/entt/stl_ext/string_view.cpp


+ 0 - 0
test/entt/stl/vector.cpp → test/entt/stl_ext/tuple.cpp


+ 0 - 0
test/entt/stl_ext/type_traits.cpp


+ 0 - 0
test/entt/stl_ext/utility.cpp


+ 0 - 0
test/entt/stl_ext/vector.cpp