Skip to content
Myr

Disabled memory tests by default

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 335e0af · Browse files · 2 files+7 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+7 added−3 removed

  • other:+7 added−3 removed

2 files+7 added−3 removed

modified:flask/testsuite/regression.py+3 added-2 removed
9 unmodified lines
10"""1112from __future__ import with_statement1314import os15import gc16import sys17import flask18import threading19import unittest19from werkzeug.test import run_wsgi_app, create_environ20from werkzeug.exceptions import NotFound21from flask.testsuite import FlaskTestCase2223
87 unmodified lines
111112113def suite():114 suite = unittest.TestSuite()115 if os.environ.get('RUN_FLASK_MEMORY_TESTS') == '1':115 suite.addTest(unittest.makeSuite(MemoryTestCase))116 suite.addTest(unittest.makeSuite(MemoryTestCase))117 suite.addTest(unittest.makeSuite(ExceptionTestCase))118 return suite
modified:Makefile+4 added-1 removed
1.PHONY: clean-pyc ext-test test upload-docs docs audit1.PHONY: clean-pyc ext-test test test-with-mem upload-docs docs audit23all: clean-pyc test45test:6 python run-tests.py78test-with-mem:9 RUN_FLASK_MEMORY_TESTS=1 python run-tests.py1011audit:12 python setup.py audit1314release:
29 unmodified lines