Use MW_INSTALL_PATH for test path if defined
Change-Id: Ib4eedb61f37e3b8a5c834dc417342543771a2d33
This commit is contained in:
1 parent
2eecc721a2
commit
243972403b
1 file changed
+9
-1
@@ -1,2 +1,10 @@
|
|||||||
|
ifndef MW_INSTALL_PATH
|
||||||
|
MW_INSTALL_PATH=../../..
|
||||||
|
endif
|
||||||
|
|
||||||
default:
|
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 $@
|
||||||
Reference in new issue
Block a user