Merge branch 'python-tests-extend'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 14 Feb 2011 23:47:52 +0000 (00:47 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 14 Feb 2011 23:47:52 +0000 (00:47 +0100)
1  2 
ChangeLog

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,14 -1,19 +1,28 @@@
+ 2011-02-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       python: fix spurious failure in tests
+       * tests/python-vars.test: Ignore cached values from config.site
+       by exporting CONFIG_SITE=/dev/null.  Be laxer in matching the
+       expected values of output variables `pythondir' and `pyexecdir',
+       since they can change quite unpredictably among different python
+       installations.  Also, avoid "hyping" debugging output, thus
+       offering smaller trace output and more informative diff.
+       Report and suggestions by Ralf Wildenhues.
+       * tests/python-virtualenv.test: Require python, since we call it
+       even after the virtualenv has been deactivated.  Ignore cached
+       values from config.site by exporting CONFIG_SITE=/dev/null.
  2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
 +      tests: tweak few tests on simple and parallel test drivers
 +      * tests/check-exported-srcdir.test: Improve heading comments.
 +      * tests/check-tests-in-builddir.test: Likewise.  Also, unset the
 +      `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
 +      environment won't risk to interfere with the test.
 +      Suggestions by Ralf Wildenhues.
 +
 +2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
        python: extend and improve tests, fix minor glitches
        * m4/python.m4 (AM_PATH_PYTHON): Ensure the "checking ..." messages
        from configure are always complete, even in case of failure.  Tiny