You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by va...@apache.org on 2009/05/16 23:00:13 UTC
svn commit: r775527 - /lucene/pylucene/trunk/Makefile
Author: vajda
Date: Sat May 16 21:00:12 2009
New Revision: 775527
URL: http://svn.apache.org/viewvc?rev=775527&view=rev
Log:
and for Windows, fix path
Modified:
lucene/pylucene/trunk/Makefile
Modified: lucene/pylucene/trunk/Makefile
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/Makefile?rev=775527&r1=775526&r2=775527&view=diff
==============================================================================
--- lucene/pylucene/trunk/Makefile (original)
+++ lucene/pylucene/trunk/Makefile Sat May 16 21:00:12 2009
@@ -221,7 +221,11 @@
rm -rf $(LUCENE)
-BUILD_TEST=$(PYLUCENE)/build/test
+BUILD_TEST:=$(PYLUCENE)/build/test
+
+ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
+BUILD_TEST:=`cygpath -aw $(BUILD_TEST)`
+endif
install-test:
mkdir -p $(BUILD_TEST)
@@ -231,7 +235,7 @@
cd samples/LuceneInAction; PYTHONPATH=$(BUILD_TEST) $(PYTHON) index.py
test: install-test samples/LuceneInAction/index
- find test -name 'test_*.py' | PYTHONPATH=$(BUILD_TEST) xargs -t -n 1 $(PYTHON)
+ find test -name 'test_*.py' | PYTHONPATH=$(BUILD_TEST) xargs -t -n 1 $(PYTHON); true
ls samples/LuceneInAction/*Test.py | PYTHONPATH=$(BUILD_TEST) xargs -t -n 1 $(PYTHON)