GWicke has submitted this change and it was merged.

Change subject: handle shell errors in runtests.sh
......................................................................


handle shell errors in runtests.sh

Whenever node has an error, the stderr is intercepted to a result file
and nothing is shown. That might confuse a newcomer. This change
intercept the node exit code and will show the content of the result
file for user to investigate.

A typical use case is a node module depency missing.

Change-Id: I946771aea4289e2a5389dbca8b928d83722b234a
---
M js/tests/runtests.sh
1 file changed, 18 insertions(+), 3 deletions(-)

Approvals:
  MarkTraceur: Looks good to me, but someone else must approve
  GWicke: Verified; Looks good to me, approved
  jenkins-bot: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I946771aea4289e2a5389dbca8b928d83722b234a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to