File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 66test_defaults = [
77 'tests/test_freeform.py' ,
88 'tests/test_idwparams.py' ,
9- 'tests/test_affine.py' ,
109 'tests/test_idw.py' ,
1110 'tests/test_khandler.py' ,
1211 'tests/test_mdpahandler.py' ,
1312 'tests/test_openfhandler.py' ,
14- 'tests/test_package.py' ,
15- 'tests/test_radial.py' ,
1613 'tests/test_rbfparams.py' ,
1714 'tests/test_stlhandler.py' ,
1815 'tests/test_unvhandler.py' ,
2724default_argv = ['--tests' ] + test_defaults
2825cad_argv = ['--tests' ] + test_cad
2926
27+ return_value = 0 # Success
28+
3029try :
3130 import pygem .cad
32- nose .run (argv = cad_argv )
31+ return_value = 1 if nose .run (argv = cad_argv ) is False else 0
3332except :
3433 print ('module OCC not found, skip tests for CAD' )
3534
36- nose .run (argv = default_argv )
37-
38-
39-
40-
35+ return_value = 1 if nose .run (argv = default_argv ) is False else 0
4136
37+ import sys
38+ sys .exit (int (return_value ))
You can’t perform that action at this time.
0 commit comments