[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

win-tests.py not taking --log-level with Python 2.6

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Tue, 5 Jun 2012 02:10:05 +0200

With Python 2.6.2, the --log-level option of win-tests.py doesn't work.

If I hard-code "set_log_level=logging.DEBUG" somewhere in the test
code, I do get debug logging. But passing "--log-level=DEBUG" on the
commandline doesn't work (it even disables the "Warning" level, I only
get "START", "PASS"/"FAIL"/..., "END", "ELAPSED").

With Python 2.7.3, --log-level works correctly.

Does the test-suite on *nix have the same problem (with Python 2.6 vs. 2.7)?

Is Python 2.7 required for the test-suite?

If not, what could be the cause of this problem? Can it be fixed
easily? It's not too important to me anymore (using Python 2.7 now),
but just wondering ... (and noting it here in case others run into
this problem).

-- 
Johan
Received on 2012-06-05 02:10:56 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.