No bug. Fix Loop's run-all-loop-tests script to run eslint correctly in the new world. rs=dmose NPOTB DONTBUILD
authorMark Banner <standard8@mozilla.com>
Mon, 30 Nov 2015 19:48:05 +0000
changeset 308819 eab56599768eec8bf98dac771f76887958b41545
parent 308818 b21eff7211f45e452e46dfb764957cd1218cba9d
child 308820 75f077d75458184cf2fd14d75e8db1f5e3863f3b
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmose
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
No bug. Fix Loop's run-all-loop-tests script to run eslint correctly in the new world. rs=dmose NPOTB DONTBUILD
browser/extensions/loop/run-all-loop-tests.sh
--- a/browser/extensions/loop/run-all-loop-tests.sh
+++ b/browser/extensions/loop/run-all-loop-tests.sh
@@ -11,17 +11,17 @@ fi
 set -e
 
 # Main tests
 
 LOOPDIR=browser/extensions/loop
 ESLINT=standalone/node_modules/.bin/eslint
 if [ -x "${LOOPDIR}/${ESLINT}" ]; then
   echo 'running eslint; see http://eslint.org/docs/rules/ for error info'
-  (cd ${LOOPDIR} && ./${ESLINT} --ext .js --ext .jsm --ext .jsx .)
+  (./${LOOPDIR}/${ESLINT} --ext .js --ext .jsm --ext .jsx ${LOOPDIR})
   if [ $? != 0 ]; then
     exit 1;
   fi
   echo 'eslint run finished.'
 fi
 
 # Build tests coverage.
 MISSINGDEPSMSG="\nMake sure all dependencies are up to date by running