mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-28 05:58:57 +00:00
fmt: fuzz, fix (remove extraneous + incorrect fill)
"blk + chunks" is often an overrun, plus the fill is unnecessary; we throw blk away immediately.
This commit is contained in:
parent
9f9561379b
commit
2ae551c0af
4 changed files with 67 additions and 1 deletions
23
tests/fmt/fuzz/CMakeLists.txt
Normal file
23
tests/fmt/fuzz/CMakeLists.txt
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
)
|
||||
|
||||
link_fuzztest(x_test)
|
||||
gtest_discover_tests(x_test)
|
Loading…
Add table
Add a link
Reference in a new issue