Skip to content

Commit 673d0c6

Browse files
committed
Fix expected failure in contract tests
1 parent a2aee50 commit 673d0c6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

libs/core/contracts/tests/unit/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,25 @@ endforeach()
3333
# mode (HPX_ASSERT or HPX_CONTRACT_ASSERT behavior)
3434
set_tests_properties(
3535
tests.unit.modules.contracts.declaration_contracts_fail_contract_assert
36-
PROPERTIES WILL_FAIL $<$<CONFIG:Debug>:ON>
36+
PROPERTIES WILL_FAIL $<$<CONFIG:Debug>:true>
3737
)
3838

3939
if(HPX_HAVE_CXX26_CONTRACTS)
4040
# Set failure expectations for declaration contract failure tests Native
4141
# contracts should fail when violated
4242
set_tests_properties(
4343
tests.unit.modules.contracts.declaration_contracts_fail_pre
44-
PROPERTIES WILL_FAIL ON
44+
PROPERTIES WILL_FAIL true
4545
)
4646
set_tests_properties(
4747
tests.unit.modules.contracts.declaration_contracts_fail_post
48-
PROPERTIES WILL_FAIL ON
48+
PROPERTIES WILL_FAIL true
4949
)
5050
else()
5151
# Set failure expectation for fallback failure test Fallback only fails in
5252
# Debug mode (HPX_ASSERT behavior)
5353
set_tests_properties(
5454
tests.unit.modules.contracts.fallback_contracts_fail
55-
PROPERTIES WILL_FAIL $<$<CONFIG:Debug>:ON>
55+
PROPERTIES WILL_FAIL $<$<CONFIG:Debug>:true>
5656
)
5757
endif()

0 commit comments

Comments
 (0)