PDA

View Full Version : Tests are not saved


liquidat
04-02-2008, 10:11 PM
When I run benchmarks the results are not saved:
$ ./phoronix-test-suite benchmark audio-encoding

Installing Benchmarks For Audio-encoding Test Suite...

[...]
Would you like to save these benchmark results (Y/n)? y
Enter a name to save (or merge) these results: liquidat-audio-encoding-1
Enter a unique identifier for distinguishing this series of tests: liquidat-audio-encoding-2008-04-03-0403

Phoronix Test Suite will record results!

=================================
Audio-encoding Test Suite
=================================

Running Benchmarks For Audio-encoding Test Suite...
[...]
=================================
Executing Post-Benchmark Tasks
=================================
PHP Fatal error: Call to undefined function bcdiv() in /home/liquidat/Downloads/phoronix-test-suite/pts-core/functions/pts-functions-run.php on line 175
[liquidat@localhost:Downloads/phoronix-test-suite]$ ./phoronix-test-suite list-saved-tests
PHP Notice: Undefined offset: 2 in /home/liquidat/Downloads/phoronix-test-suite/pts-core/pts-run-cmd.php on line 6
PHP Notice: Undefined offset: 3 in /home/liquidat/Downloads/phoronix-test-suite/pts-core/pts-run-cmd.php on line 7

=================================
Phoronix Test Suite - Saved Results
=================================



As you see the saved results list is simply empty.

I used a git snapshot, 200-03-04. Btw., it would really help to have a --version function :)

Michael
04-02-2008, 10:16 PM
Hi liquidat,

It's likely not saving due to the fatal error occurring with bcdiv(). Install php5-bcmath or whatever the module is called for your distribution. Though I will be dropping the use of bcmath shortly.

Michael
04-02-2008, 11:00 PM
In the latest git code, the dependency on bcmath should be dropped now.

liquidat
04-03-2008, 07:53 AM
I installed the dependency, it works now. Thanks.