- changed status to resolved
FunctionAssigner test fails on RelWithDebInfo build type
Issue #166
resolved
Output:
$ python FunctionAssigner.py -v
test_1_1_assigner (__main__.Creation) ... FAIL
test_1_N_assigner (__main__.Creation) ... ok
test_N_1_assigner (__main__.Creation) ... ok
======================================================================
FAIL: test_1_1_assigner (__main__.Creation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "FunctionAssigner.py", line 115, in test_1_1_assigner
self.assertRaises(RuntimeError, lambda : assign(self.wrr.sub(1), self.r))
AssertionError: RuntimeError not raised
----------------------------------------------------------------------
Ran 3 tests in 0.134s
FAILED (failures=1)
This even means that user can probably execute wrong code.
Comments (3)
-
-
It was an assertion which should have been a proper error check. Do we not build with release on any of the buildbots, @johannes_ring? I think we should...
-
@johanhake - Yes, we do. The two Mac buildbots use CMAKE_BUILD_TYPE=Release.
- Log in to comment
Change an assertion to a proper error check fixing issue
#166as reported by Jan Blechta→ <<cset c46af2a369ec>>