tick
tick copied to clipboard
Unable to run CPP unit tests
Initially raised in #438
I can't run the unit tests. I tested using this demo and that ran fine.
I followed these steps:
-
clone googletest in tick: git clone https://github.com/google/googletest.git (cd googletest && mkdir -p build && cd build && cmake .. && make && sudo make install) which succeeded after adding sudo to make install
-
python3 setup.py build_ext --inplace cpptest This builds the CPPtests but fails when trying to run the CPPtests with following error:
running runcpptest
make[3]: *** [CMakeFiles/check.dir/build.make:57: CMakeFiles/check] Segmentation fault (core dumped)
make[2]: *** [CMakeFiles/Makefile2:506: CMakeFiles/check.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:513: CMakeFiles/check.dir/rule] Error 2
make: *** [Makefile:129: check] Error 2
Traceback (most recent call last):
File "setup.py", line 929, in