jenkins-bot has submitted this change and it was merged.

Change subject: Use MW_INSTALL_PATH for test path if defined
......................................................................


Use MW_INSTALL_PATH for test path if defined

Change-Id: Ib4eedb61f37e3b8a5c834dc417342543771a2d33
---
M tests/phpunit/Makefile
1 file changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/phpunit/Makefile b/tests/phpunit/Makefile
index be36655..eabe3a1 100644
--- a/tests/phpunit/Makefile
+++ b/tests/phpunit/Makefile
@@ -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 $@

-- 
To view, visit https://gerrit.wikimedia.org/r/88721
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4eedb61f37e3b8a5c834dc417342543771a2d33
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to