This makes sure that we no longer force the use of this version
of Python if it happens to be available on the machine where
the hooks are being run. Using gnatpython is no longer desirable
since it does not support Python 3.x.
Change-Id: I0505e455e3319b78502acbc79c359b79ca555b92
TN: U530-006
While testing the behavior of the git-hooks under Python 3.x,
I noticed that the order of some output was not the same as
when running it with Python 2.x. When investigating further,
I found that the order with Python 2.x made better sense, and
that the different order was caused by stdout/stderr buffering.
This commit turns buffering off entirely in an effort to make
sure that output sent to stdout & stderr gets seen in the order
that it was sent.
As it happens, while this commit was aimed at Python 3.x,
running the testsuite showed that we had one testcase where
the order when using Python 2.x was also incorrect, and
therefore misleading, for a couple of tests. The tests'
expected output was double-checked, and adjusted accordingly,
with additional comments explaining what each part was about.
TN: U530-006
Change-Id: Iaf2c5266e13a645dab006e1f7f4cb553cbd5704f
sourceware now provides a more central location where specific versions
of some tools can be installed. Git and Python have now been installed
there, so update the scripts accordingly.
Unfortunately, both git and Python are too old on sourceware.org, so
a local install has been made as a workaround, and this patch updates
the PATH to use them from the two scripts that our hooks define.
Note that this is not completely exhaustive, since other operations
get performed by git outside of hooks, and those can still cause
trouble during the testsuite run. But, for now, things seem to be
relatively in control, as the number of failures associated to that
are fairly small, and can be controlled by hand.
These hooks are deployed on two different machines where the location
of the cvs_check program is different, depending on the machine.
Allow either location.
Get rid of the location that references /jouy.a, and use /svn/Dev/hooks
instead.
For M130-007.
The previous location was the one used on kani, but wasn't canonical.
We're now switching over to moorea, where the incorrect path has been
fixed.
M130-007.