Announcement

Collapse
No announcement yet.

Tests are not saved

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tests are not saved

    When I run benchmarks the results are not saved:
    Code:
    $ ./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

  • #2
    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 Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      In the latest git code, the dependency on bcmath should be dropped now.
      Michael Larabel
      https://www.michaellarabel.com/

      Comment


      • #4
        I installed the dependency, it works now. Thanks.

        Comment

        Working...
        X