Commit 091b688d authored by Sebastian Ohlmann's avatar Sebastian Ohlmann

fix python tests

parent 6afe4a94
......@@ -637,9 +637,11 @@ check_python.sh:
@echo "#!/bin/bash" > $@
@echo "export PYTHONPATH=$$PYTHONPATH:$(top_srcdir)/python" >> $@
# this is very hacky... is there a better way to get wrapper.so?
@echo "cp $(top_srcdir)/.libs/wrapper.so $(top_srcdir)/python" >> $@
@echo "cp .libs/wrapper.so $(top_srcdir)/python/pyelpa" >> $@
@echo "pytest $(top_srcdir)/python" >> $@
@echo "rm $(top_srcdir)/python/wrapper.so" >> $@
@echo "exit_code=$$?" >> $@
@echo "rm $(top_srcdir)/python/pyelpa/wrapper.so" >> $@
@echo "exit $$exit_code" >> $@
@chmod +x $@
# test scripts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment