You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/02/05 21:42:22 UTC
[27/30] allura git commit: [#8035] run lint-es6 in main test runner
[#8035] run lint-es6 in main test runner
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/0bfbcfef
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/0bfbcfef
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/0bfbcfef
Branch: refs/heads/master
Commit: 0bfbcfefe38a7c879a5a15ca99b45cf8f520e04b
Parents: d5d1c64
Author: Dave Brondsema <da...@brondsema.net>
Authored: Fri Feb 5 15:31:48 2016 -0500
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Feb 5 15:41:30 2016 -0500
----------------------------------------------------------------------
run_tests | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/0bfbcfef/run_tests
----------------------------------------------------------------------
diff --git a/run_tests b/run_tests
index 95729de..03c2e47 100755
--- a/run_tests
+++ b/run_tests
@@ -44,8 +44,8 @@ NOT_MULTIPROC_SAFE = [
def run_one(cmd, **popen_kwargs):
- cmd_to_show = u'{} in {}'.format(cmd, popen_kwargs.get('cwd', '.'))
- print u'{} running {}'.format(threading.current_thread(), cmd_to_show)
+ cmd_to_show = u'`{}` in {}'.format(cmd, popen_kwargs.get('cwd', '.'))
+ print u'{} running {}\n'.format(threading.current_thread(), cmd_to_show)
sys.stdout.flush()
all_popen_kwargs = dict(shell=True, stderr=subprocess.STDOUT,
@@ -144,6 +144,9 @@ def run_tests_in_parallel(options, nosetests_args):
multiproc_args=get_multiproc_args(package),
)
cmds.append((cmd, dict(cwd=package, env=env)))
+
+ # TODO: add a way to include this or not; and add xml output for Jenkins
+ cmds.append(('npm run lint-es6', {}))
return run_many(cmds, processes=get_concurrent_suites())