Add "--with-id" to default settings passed to nose testing. (#608)
This enables "--failed" option to only run tests that failed in the last run
This commit is contained in:
@@ -61,7 +61,7 @@ def run_all(argv=None):
|
|||||||
'nosetests', '--with-xunit',
|
'nosetests', '--with-xunit',
|
||||||
'--with-xcoverage', '--cover-package=elasticsearch', '--cover-erase',
|
'--with-xcoverage', '--cover-package=elasticsearch', '--cover-erase',
|
||||||
'--logging-filter=elasticsearch', '--logging-level=DEBUG',
|
'--logging-filter=elasticsearch', '--logging-level=DEBUG',
|
||||||
'--verbose',
|
'--verbose', '--with-id',
|
||||||
]
|
]
|
||||||
|
|
||||||
nose.run_exit(
|
nose.run_exit(
|
||||||
@@ -71,4 +71,3 @@ def run_all(argv=None):
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
run_all(sys.argv)
|
run_all(sys.argv)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user