Use MW_INSTALL_PATH for test path if defined

Change-Id: Ib4eedb61f37e3b8a5c834dc417342543771a2d33
This commit is contained in:
Santhosh Thottingal
2013-10-09 17:54:17 +05:30
parent 2eecc721a2
commit 243972403b

View File

@@ -1,2 +1,10 @@
ifndef MW_INSTALL_PATH
MW_INSTALL_PATH=../../..
endif
default:
php ../../../tests/phpunit/phpunit.php .
php ${MW_INSTALL_PATH}/tests/phpunit/phpunit.php .
.PHONY: *Test.php
*Test.php:
php ${MW_INSTALL_PATH}/tests/phpunit/phpunit.php $@