lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r775527 - /lucene/pylucene/trunk/Makefile
Date Sat, 16 May 2009 21:00:13 GMT
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)
 
 



Mime
View raw message