Skip to content

Commit

Permalink
Also disable tstmemory when fpe_trap is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
KineticTheory committed May 6, 2019
1 parent fadf04c commit 202862c
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions src/memory/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@
#------------------------------------------------------------------------------#
project( memory_test CXX )

# ---------------------------------------------------------------------------- #
# Source files
# ---------------------------------------------------------------------------- #

file( GLOB test_sources *.cc )

# ---------------------------------------------------------------------------- #
# Build Unit tests
# ---------------------------------------------------------------------------- #

add_scalar_tests( SOURCES "${test_sources}" DEPS Lib_memory )
if( NOT "${DRACO_DIAGNOSTICS}" STREQUAL "7" )
# This test fails when fpe_trap is enabled.
#
add_scalar_tests(
SOURCES "tstmemory.cc"
DEPS Lib_memory )
endif()

#------------------------------------------------------------------------------#
# End memory/test/CMakeLists.txt
Expand Down

0 comments on commit 202862c

Please sign in to comment.