summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-09-15 16:09:08 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2015-09-15 16:34:59 +0200
commit32eca734799a6ebe95c727482a3fcb8688098548 (patch)
treee1f3b20ad2882d040e978eadf22988f0a1d1e8e5 /test/unit
parent38315cfba2a4677ed3d7df81e3f4a5d28f1f4a1b (diff)
downloadfork-ledger-32eca734799a6ebe95c727482a3fcb8688098548.tar.gz
fork-ledger-32eca734799a6ebe95c727482a3fcb8688098548.tar.bz2
fork-ledger-32eca734799a6ebe95c727482a3fcb8688098548.zip
[tests] Remove compiler warnings for unit tests
warning: equality comparison result unused [-Wunused-comparison] BOOST_CHECK_THROW(v8 == v10, value_error); ~~~^~~~~~
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
index 4f688755..9cacb4e7 100644
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -15,7 +15,7 @@ if (BUILD_LIBRARY)
add_ledger_test(UtilTests)
add_executable(MathTests t_amount.cc t_commodity.cc t_balance.cc t_expr.cc t_value.cc)
- set_source_files_properties(t_amount.cc PROPERTIES COMPILE_FLAGS "-Wno-unused-comparison")
+ set_source_files_properties(t_amount.cc t_value.cc PROPERTIES COMPILE_FLAGS "-Wno-unused-comparison")
if (CMAKE_SYSTEM_NAME STREQUAL Darwin AND HAVE_BOOST_PYTHON)
target_link_libraries(MathTests ${PYTHON_LIBRARIES})
endif()