allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [3/3] allura git commit: Set NOSE_IGNORE_CONFIG_FILES so that local settings aren't used. E.g. nose-progressive plugin is very nice output but it disables multiprocess testing
Date Mon, 21 Dec 2015 14:02:09 GMT
Set NOSE_IGNORE_CONFIG_FILES so that local settings aren't used.  E.g. nose-progressive plugin
is very nice output but it disables multiprocess testing


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/f82e40c3
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/f82e40c3
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/f82e40c3

Branch: refs/heads/master
Commit: f82e40c3ffa20b56240605974d20f52dd26c9db1
Parents: 90de4c9
Author: Dave Brondsema <dave@brondsema.net>
Authored: Wed Dec 16 13:32:58 2015 -0500
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Mon Dec 21 15:19:21 2015 +0200

----------------------------------------------------------------------
 run_tests | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/f82e40c3/run_tests
----------------------------------------------------------------------
diff --git a/run_tests b/run_tests
index 4640244..b854da5 100755
--- a/run_tests
+++ b/run_tests
@@ -130,6 +130,8 @@ def run_tests_in_parallel(options, nosetests_args):
         return CPUS
 
     cmds = []
+    env = dict(os.environ,
+               NOSE_IGNORE_CONFIG_FILES='1')
     for package in check_packages(options.packages):
         cover_package = package.lower()
         our_nosetests_args = copy(nosetests_args)
@@ -139,7 +141,7 @@ def run_tests_in_parallel(options, nosetests_args):
             nosetests_args=' '.join(our_nosetests_args),
             multiproc_args=get_multiproc_args(package),
         )
-        cmds.append((cmd, dict(cwd=package)))
+        cmds.append((cmd, dict(cwd=package, env=env)))
     return run_many(cmds, processes=get_concurrent_suites())
 
 


Mime
View raw message