Show More
@@ -230,8 +230,8 b' def make_exclude():' | |||||
230 | # files for web serving. Occasionally projects may put a .py |
|
230 | # files for web serving. Occasionally projects may put a .py | |
231 | # file in there (MathJax ships a conf.py), so we might as |
|
231 | # file in there (MathJax ships a conf.py), so we might as | |
232 | # well play it safe and skip the whole thing. |
|
232 | # well play it safe and skip the whole thing. | |
233 |
ipjoin( |
|
233 | ipjoin('html', 'notebook', 'static'), | |
234 |
ipjoin( |
|
234 | ipjoin('html', 'notebook', 'fabfile'), | |
235 | ] |
|
235 | ] | |
236 | if not have['sqlite3']: |
|
236 | if not have['sqlite3']: | |
237 | exclusions.append(ipjoin('core', 'tests', 'test_history')) |
|
237 | exclusions.append(ipjoin('core', 'tests', 'test_history')) | |
@@ -261,18 +261,18 b' def make_exclude():' | |||||
261 | if not have['pexpect']: |
|
261 | if not have['pexpect']: | |
262 | exclusions.extend([ipjoin('lib', 'irunner'), |
|
262 | exclusions.extend([ipjoin('lib', 'irunner'), | |
263 | ipjoin('lib', 'tests', 'test_irunner'), |
|
263 | ipjoin('lib', 'tests', 'test_irunner'), | |
264 |
ipjoin( |
|
264 | ipjoin('terminal', 'console'), | |
265 | ]) |
|
265 | ]) | |
266 |
|
266 | |||
267 | if not have['zmq']: |
|
267 | if not have['zmq']: | |
268 | exclusions.append(ipjoin('kernel')) |
|
268 | exclusions.append(ipjoin('kernel')) | |
269 |
exclusions.append(ipjoin(' |
|
269 | exclusions.append(ipjoin('qt')) | |
270 |
exclusions.append(ipjoin(' |
|
270 | exclusions.append(ipjoin('html')) | |
271 |
exclusions.append(ipjoin(' |
|
271 | exclusions.append(ipjoin('consoleapp.py')) | |
272 |
exclusions.append(ipjoin( |
|
272 | exclusions.append(ipjoin('terminal', 'console')) | |
273 | exclusions.append(ipjoin('parallel')) |
|
273 | exclusions.append(ipjoin('parallel')) | |
274 | elif not have['qt'] or not have['pygments']: |
|
274 | elif not have['qt'] or not have['pygments']: | |
275 |
exclusions.append(ipjoin(' |
|
275 | exclusions.append(ipjoin('qt')) | |
276 |
|
276 | |||
277 | if not have['pymongo']: |
|
277 | if not have['pymongo']: | |
278 | exclusions.append(ipjoin('parallel', 'controller', 'mongodb')) |
|
278 | exclusions.append(ipjoin('parallel', 'controller', 'mongodb')) | |
@@ -293,17 +293,17 b' def make_exclude():' | |||||
293 | exclusions.extend([ipjoin('extensions', 'tests', 'test_octavemagic')]) |
|
293 | exclusions.extend([ipjoin('extensions', 'tests', 'test_octavemagic')]) | |
294 |
|
294 | |||
295 | if not have['tornado']: |
|
295 | if not have['tornado']: | |
296 |
exclusions.append(ipjoin(' |
|
296 | exclusions.append(ipjoin('html')) | |
297 |
|
297 | |||
298 | if not have['jinja2']: |
|
298 | if not have['jinja2']: | |
299 |
exclusions.append(ipjoin( |
|
299 | exclusions.append(ipjoin('html', 'notebook', 'notebookapp')) | |
300 |
|
300 | |||
301 | if not have['rpy2'] or not have['numpy']: |
|
301 | if not have['rpy2'] or not have['numpy']: | |
302 | exclusions.append(ipjoin('extensions', 'rmagic')) |
|
302 | exclusions.append(ipjoin('extensions', 'rmagic')) | |
303 | exclusions.append(ipjoin('extensions', 'tests', 'test_rmagic')) |
|
303 | exclusions.append(ipjoin('extensions', 'tests', 'test_rmagic')) | |
304 |
|
304 | |||
305 | if not have['azure']: |
|
305 | if not have['azure']: | |
306 |
exclusions.append(ipjoin( |
|
306 | exclusions.append(ipjoin('html', 'notebook', 'services', 'notebooks', 'azurenbmanager')) | |
307 |
|
307 | |||
308 | # This is needed for the reg-exp to match on win32 in the ipdoctest plugin. |
|
308 | # This is needed for the reg-exp to match on win32 in the ipdoctest plugin. | |
309 | if sys.platform == 'win32': |
|
309 | if sys.platform == 'win32': | |
@@ -429,14 +429,21 b' class IPTester(object):' | |||||
429 | # The process did not die... |
|
429 | # The process did not die... | |
430 | print('... failed. Manual cleanup may be required.') |
|
430 | print('... failed. Manual cleanup may be required.') | |
431 |
|
431 | |||
|
432 | ||||
432 | def make_runners(inc_slow=False): |
|
433 | def make_runners(inc_slow=False): | |
433 | """Define the top-level packages that need to be tested. |
|
434 | """Define the top-level packages that need to be tested. | |
434 | """ |
|
435 | """ | |
435 |
|
436 | |||
436 | # Packages to be tested via nose, that only depend on the stdlib |
|
437 | # Packages to be tested via nose, that only depend on the stdlib | |
437 |
nose_pkg_names = ['config', 'core', 'extensions', ' |
|
438 | nose_pkg_names = ['config', 'core', 'extensions', 'lib', 'terminal', | |
438 | 'testing', 'utils', 'nbformat' ] |
|
439 | 'testing', 'utils', 'nbformat' ] | |
439 |
|
440 | |||
|
441 | if have['qt']: | |||
|
442 | nose_pkg_names.append('qt') | |||
|
443 | ||||
|
444 | if have['tornado']: | |||
|
445 | nose_pkg_names.append('html') | |||
|
446 | ||||
440 | if have['zmq']: |
|
447 | if have['zmq']: | |
441 | nose_pkg_names.append('kernel') |
|
448 | nose_pkg_names.append('kernel') | |
442 | nose_pkg_names.append('kernel.inprocess') |
|
449 | nose_pkg_names.append('kernel.inprocess') |
General Comments 0
You need to be logged in to leave comments.
Login now