I can't run the unit tests. I tested using this demo and that ran fine.
I followed these steps:
1) 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
2) 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
'License :: OSI Approved :: BSD License'],
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/site-packages/setuptools/init.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 721, in run
subprocess.check_call(make_cmd, cwd=self.cpp_build_dir)
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'check']' returned non-zero exit status 2.
Initially raised in #438
I can't run the unit tests. I tested using this demo and that ran fine.
I followed these steps:
1) 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
2) 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
'License :: OSI Approved :: BSD License'],
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/site-packages/setuptools/init.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 721, in run
subprocess.check_call(make_cmd, cwd=self.cpp_build_dir)
File "/home/soumau/miniconda3/envs/tick_env/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'check']' returned non-zero exit status 2.