PRESET_OPTIONS doesn't work as expected

Bug #983431 reported by Sylvain Pineau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phoronix-test-suite (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I'm running PTS v3.2.1 (the oneiric version) and wanted to try the PRESET_OPTIONS as suggested by the documentation:

PRESET_OPTIONS="stream.run-type=Add" phoronix-test-suite benchmark stream

it fails with the following output, from a possible outdated part of code:

PHP Notice: Undefined variable: check in /usr/share/phoronix-test-suite/pts-core/objects/pts_test_result_parser.php on line 451
PHP Notice: Undefined offset: 1 in /usr/share/phoronix-test-suite/pts-core/objects/pts_test_result_parser.php on line 451

To be able to use this option, i have to launch:

PRESET_OPTIONS="stream.run-type=2" phoronix-test-suite benchmark stream

Revision history for this message
michaellarabel (michael-michaellarabel) wrote :

Hi Sylvain,

Ah I see what's happening in your case. It's a trivial fix and has been committed to Git for Phoronix Test Suite 4.0, or you should be able to easily patch your old 3.2.1 install with this one-line fix: http://phorogit.com/index.php?p=phoronix-test-suite.git&a=commitdiff&h=d0b659812353e882fc77c0292518b8a98d0e0b3b&hb=35ca70e82b8b800bd4e236d6f2513f6827f8c1a1 I've confirmed this allows Stream to successfully run with the parameters you mentioned.

Michael

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Hi Michael,

It works flawlessly, thanks for your quick answer.

Sylvain

Changed in phoronix-test-suite (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Changed in phoronix-test-suite (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.