diff --git a/CMakeLists.txt b/CMakeLists.txt index 1961cfe..35f8ef9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,7 @@ if (MASTER_PROJECT) tests/basic.cpp tests/fpsimd.cpp tests/general.cpp + tests/rand_int.hpp tests/vector_code_gen.cpp ) target_include_directories(oaknut-tests PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/tests) diff --git a/tests/basic.cpp b/tests/basic.cpp index 32395c6..2e29838 100644 --- a/tests/basic.cpp +++ b/tests/basic.cpp @@ -192,7 +192,7 @@ TEST_CASE("MOVP2R") { CodeBlock mem{4096}; - for (int i = 0; i < 0x200'0000; i++) { + for (int i = 0; i < 0x200000; i++) { const std::int64_t diff = RandInt(std::numeric_limits::min(), std::numeric_limits::max()); const std::intptr_t value = reinterpret_cast(mem.ptr()) + diff;