compiler-research / xeus-cpp

Jupyter kernel for the C++ programming language
BSD 3-Clause "New" or "Revised" License
20 stars 24 forks source link

Throw exception test cases make kernel/test-system non-workable on MacOS/arm64 #60

Open alexander-penev opened 6 months ago

alexander-penev commented 6 months ago

Description

When we try to test code (via pytest) that throw exception, this test fail. After that all other (no-skiped) tests also fails.

We expect this test not to fail, and even a little bit to interfere with the work of the following tests.

What I Did

class XCppTests(jupyter_kernel_test.KernelTests):
    # Exception throwing
    code_generate_error = 'throw std::runtime_error("Unknown exception");'
$ pytest .
====== test session starts =====
...
collected 12 items
test_xcpp_kernel.py ss.ssFFsssFF
vgvassilev commented 6 months ago

I suspect this is related to the discussion here https://github.com/root-project/root/issues/7541