~fginther/+git/autotest:autotest3-more-updates

Last commit made on 2023-04-06
Get this branch:
git clone -b autotest3-more-updates https://git.launchpad.net/~fginther/+git/autotest
Only Francis Ginther can upload to this branch. If you are Francis Ginther please log in for upload directions.

Branch merges

Branch information

Name:
autotest3-more-updates
Repository:
lp:~fginther/+git/autotest

Recent commits

4207db7... by Francis Ginther

python2to3: Allow for unicode replacement when reading from pipes

Add an error handler when decoding command output from pipes. Otherwise
we'll hit UnicodeDecodeError exceptions.

Signed-off-by: Francis Ginther <email address hidden>

160f8e7... by Francis Ginther

python2to3: Update magic detection to use bytearrays

The file magic detection was modified to read the source file as binary,
which then allows comparisons using bytearrays. This avoids the need to
do any decode operations.

Signed-off-by: Francis Ginther <email address hidden>

4aef3e1... by Francis Ginther

python2to3: Use binary files with pickle

Also removed an obsolete call to `exc_clear`.

Signed-off-by: Francis Ginther <email address hidden>

bc7bc78... by Francis Ginther

python2to3: byte encode data sent to gzip logfile

Signed-off-by: Francis Ginther <email address hidden>

e0eac70... by Francis Ginther

python2to3: don't encode the xml output

After the conversion, the xml file is now handled with regular strings,
no need to do the encoding to bytes.

Signed-off-by: Francis Ginther <email address hidden>

dae7091... by Francis Ginther

python2to3: Allow for alternate ordering

The ordering of the results lines are different. Allow for both.

Signed-off-by: Francis Ginther <email address hidden>

8e359fc... by Francis Ginther

python2to3: results are now treated as str

The results file parsed by `results2junit.py` is now read as a python
str, so no need to perform the extra text decoding.

Signed-off-by: Francis Ginther <email address hidden>

3d3449b... by Francis Ginther

python2to3: fix relative imports

Signed-off-by: Francis Ginther <email address hidden>

4e43698... by Francis Ginther

python2to3: Remove duplicate ini config file sections

The python3 config file reader is now more strict about duplicate
sections in ini files.

Signed-off-by: Francis Ginther <email address hidden>

1c1a937... by Francis Ginther

python2to3: rendered_html is a string

There is no need to encode rendered_html as a bytestring when it's being
written to a text file.

Signed-off-by: Francis Ginther <email address hidden>