~canonical-kernel-team/+git/autotest:autotest3

Last commit made on 2023-05-31
Get this branch:
git clone -b autotest3 https://git.launchpad.net/~canonical-kernel-team/+git/autotest
Members of Canonical Kernel Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
autotest3
Repository:
lp:~canonical-kernel-team/+git/autotest

Recent commits

012385c... by Francis Ginther

python2to3: Remove use of cmp method when comparing version strings

The version string comparison utility was using the python2 cmp method.
This is no longer available in python3.

Signed-off-by: Francis Ginther <email address hidden>
Acked-by: Sean Feole <email address hidden>
Acked-by: Cory Todd <email address hidden>

10d61b5... 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>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Sean Feole <email address hidden>

2d165be... 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>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Sean Feole <email address hidden>

a473bd2... 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>

a703803... by Francis Ginther

python2to3: byte encode data sent to gzip logfile

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

d13c52c... 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>

b57401f... 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>

627f80d... 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>

0dae080... by Francis Ginther

python2to3: fix relative imports

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

8e1c0bd... 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>