[MediaWiki-commits] [Gerrit] mediawiki...SecurityCheckPlugin[master]: Make unit tests for extension.json always work

2017-12-03 Thread Brian Wolff (Code Review)
Brian Wolff has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/394867 )

Change subject: Make unit tests for extension.json always work
..

Make unit tests for extension.json always work

previously it did not work from composer due to different
base directories.

Change-Id: Ia7755e7f9e30e284caf120a53adcc474c3a77c71
---
M tests/runtests.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/tools/phan/SecurityCheckPlugin 
refs/changes/67/394867/1

diff --git a/tests/runtests.sh b/tests/runtests.sh
index eea31ea..806ceb0 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -24,7 +24,7 @@
 for i in $testList
 do
echo "Running test $i"
-   SECURITY_CHECK_EXT_PATH=`dirname "$0"`"/integration/$i/"
+   SECURITY_CHECK_EXT_PATH=`pwd`"/integration/$i/"
export SECURITY_CHECK_EXT_PATH
totalTests=$((totalTests+1))
$php ../vendor/etsy/phan/phan \

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7755e7f9e30e284caf120a53adcc474c3a77c71
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/phan/SecurityCheckPlugin
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...SecurityCheckPlugin[master]: Make unit tests for extension.json always work

2017-12-03 Thread Brian Wolff (Code Review)
Brian Wolff has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/394867 )

Change subject: Make unit tests for extension.json always work
..


Make unit tests for extension.json always work

previously it did not work from composer due to different
base directories.

Change-Id: Ia7755e7f9e30e284caf120a53adcc474c3a77c71
---
M tests/runtests.sh
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/tests/runtests.sh b/tests/runtests.sh
index eea31ea..806ceb0 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -24,7 +24,7 @@
 for i in $testList
 do
echo "Running test $i"
-   SECURITY_CHECK_EXT_PATH=`dirname "$0"`"/integration/$i/"
+   SECURITY_CHECK_EXT_PATH=`pwd`"/integration/$i/"
export SECURITY_CHECK_EXT_PATH
totalTests=$((totalTests+1))
$php ../vendor/etsy/phan/phan \

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia7755e7f9e30e284caf120a53adcc474c3a77c71
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/phan/SecurityCheckPlugin
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff 
Gerrit-Reviewer: Brian Wolff 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits