Skip to content

Commit

Permalink
Fix Clang UBSAN failures
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Aug 21, 2024
1 parent 1193ed0 commit 89e5b98
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,11 @@ run hash_string_test2.cpp
/boost/utility//boost_utility ;

# for gcc-4.8
local fs-path-req = "-<toolset>gcc:<cxxflags>-Wshadow" "-<toolset>gcc:<cxxflags>-Wconversion" <toolset>gcc-4.7:<build>no ;
local fs-path-req = <library>/boost/filesystem//boost_filesystem/<warnings>off "-<toolset>gcc:<cxxflags>-Wshadow" "-<toolset>gcc:<cxxflags>-Wconversion" <toolset>gcc-4.7:<build>no <undefined-sanitizer>norecover:<link>static ;

run hash_fs_path_test.cpp /boost/filesystem//boost_filesystem/<warnings>off : : : $(fs-path-req)
<toolset>msvc-14.0,<cxxstd>latest:<build>no
<undefined-sanitizer>norecover:<link>static ;
run hash_fs_path_test.cpp : : : $(fs-path-req) <toolset>msvc-14.0,<cxxstd>latest:<build>no ;

run is_range_test2.cpp /boost/filesystem//boost_filesystem : : : $(fs-path-req) ;
run is_range_test2.cpp : : : $(fs-path-req) ;

run hash_container_test.cpp ;

Expand Down

0 comments on commit 89e5b98

Please sign in to comment.