FunctionAssigner test fails on RelWithDebInfo build type

Issue #166 resolved
Jan Blechta created an issue

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)

  1. Johan Hake

    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...

  2. Log in to comment