summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-08-28 11:21:37 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-08-28 11:21:37 +0200
commit1ade959858caaf21f804092b008145d4265b0184 (patch)
treee735e4487c253788aa0e20eb056ff7fa9d05a125
parente637bf51253ae860c0a343433d8244636fa70da3 (diff)
downloadtrollius-git-1ade959858caaf21f804092b008145d4265b0184.tar.gz
runtests.py: display a message to mention if tests are run in debug or release mode
-rw-r--r--runtests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index f23aaa9..d4a7aad 100644
--- a/runtests.py
+++ b/runtests.py
@@ -264,6 +264,11 @@ def runtests():
finder = TestsFinder(args.testsdir, includes, excludes)
if catchbreak:
installHandler()
+ import asyncio.coroutines
+ if asyncio.coroutines._DEBUG:
+ print("Run tests in debug mode")
+ else:
+ print("Run tests in release mode")
try:
if args.forever:
while True: