PDA

View Full Version : Bug: results-file-to-pdf doesn't work in 1.8.0 [FIXED]


Rainer König
04-21-2009, 07:54 AM
Distribution: Fedora 10
Test-Suite: PTS 1.8.0 from Fedora-Update repo

Dhe documentation mentions a command "result-file-to-pdf" but this seems not to be implemented in PTS 1.8.0

Regards
Rainer

Michael
04-22-2009, 02:06 PM
Rainer, it should be fully implemented. Well, I think you are using results-file-to-pdf when it should be result-file-to-pdf (without the S). Just supply as an argument the name of the test profile. You will also need the PHP FPDF module installed.

Rainer König
04-23-2009, 01:17 AM
Rainer, it should be fully implemented. Well, I think you are using results-file-to-pdf when it should be result-file-to-pdf (without the S). Just supply as an argument the name of the test profile. You will also need the PHP FPDF module installed.

Was just a typo. :)

Nevertheless: The first attempt told me to install php fpdf. This is not packaged for Fedora 10 so I had to download it and install it by hand. After that it worked, but the output is rather poor because it is missing the graphics. So I'm afraid some PHP code is still missing, but I don't know which. :(

Regards
Rainer

Michael
04-23-2009, 07:50 AM
Can you email the PDF to Michael@phoronix.com? I am not aware of any outstanding bugs with it.

Michael

Michael
04-24-2009, 02:20 PM
You need PHP GD installed for the graphing support from the result-file-to-pdf option.

Rainer König
04-27-2009, 02:03 AM
You need PHP GD installed for the graphing support from the result-file-to-pdf option.

ACK! After installing it works. So the question is: Why is php-gd not in the RPM dependencies of the fedora package? :)

Regards
Rainer

Michael
04-27-2009, 02:13 PM
Good question. Report the bug upstream to Fedora if using their package.

Rainer König
04-28-2009, 01:46 AM
https://bugzilla.redhat.com/show_bug.cgi?id=497965

Michael
05-07-2009, 08:29 AM
Rainer: Anymore bugs yet?

Rainer König
05-07-2009, 08:33 AM
Rainer: Anymore bugs yet?

Hi Michael,

my student is still testing and writing a table on what works or not.

I'm actually totally involved in work and the KVM test day of Fedora, so I can't work on the PTS at the moment.

Regards
Rainer

Michael
05-07-2009, 09:34 AM
my student is still testing and writing a table on what works or not.

Great, thanks!