fix an error + delete the file the once the test is done

This commit is contained in:
Sylvestre Ledru 2013-04-11 06:15:39 +00:00
parent f0490fd941
commit fa3d839c14

4
debian/rules vendored
View File

@ -211,8 +211,10 @@ override_dh_auto_test:
# clang tests
cd build-llvm/ && $(MAKE) -C tools/clang/ test || true
# lldb tests
cd build-llvm/Release/lib/python2.7/site-packages/lldb && if test ! -h _lldb.so -o -f _lldb.so; then ln -s ../../../liblldb.so _lldb.so; fi
cd build-llvm/Release/lib/python2.7/site-packages/lldb && if test ! -h _lldb.so -o ! -f _lldb.so; then ln -s ../../../liblldb.so _lldb.so; fi
cd build-llvm/ && $(MAKE) -C tools/lldb/test
# Managed by debian build system
rm -f $(CURDIR)/build-llvm/Release/lib/python*/site-packages/lldb/_lldb.so
# polly tests
cd build-llvm/ && $(MAKE) polly-test -C tools/polly/test/