From fa3d839c1410363c23ce98a621182a9a906208df Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 11 Apr 2013 06:15:39 +0000 Subject: [PATCH] fix an error + delete the file the once the test is done --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 581b0971..a6427573 100755 --- a/debian/rules +++ b/debian/rules @@ -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/