3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 12:28:44 +00:00
yosys/tests/fmt/fuzz/CMakeLists.txt
Charlotte 3571bf2c2d fmt: fuzz, remove some unnecessary busywork
Removing some signed checks and logic where we've already guaranteed the
values to be positive.  Indeed, in these cases, if a negative value got
through (per my realisation in the signed fuzz harness), it would cause
an infinite loop due to flooring division.
2023-08-11 04:46:52 +02:00

25 lines
400 B
CMake

cmake_minimum_required(VERSION 3.14)
project(cxxrtl_division_fuzz)
set(CMAKE_CXX_STANDARD 17)
add_subdirectory(fuzztest)
enable_testing()
include(GoogleTest)
fuzztest_setup_fuzzing_flags()
include_directories(../../..)
add_executable(
x_test
x_test.cc
../../../libs/bigint/BigUnsigned.cc
../../../libs/bigint/BigInteger.cc
)
link_fuzztest(x_test)
gtest_discover_tests(x_test)