Announcement

Collapse
No announcement yet.

Enviromental Variables

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

  • Enviromental Variables

    I am attempting to automate the installation and running of PTS, and have been very successful up to the point when I am actually running a suite of tests.
    I'm running Red Hat Enterprise (kernel 2.6.32-220), interfacing with bash.

    I am trying to set up an automatic test name using the Environmental Variables mentioned in the pdf manual [TEST_RESULTS_NAME, TEST_RESULTS_IDENTIFIER etc.]
    So far I have:

    Code:
    MLLLcomp:~# export TEST_RESULTS_NAME=test1
    MLLLcomp:~# env | grep TEST_RESULTS_NAME
    TEST_RESULTS_NAME=test1
    MLLLcomp:~# phoronix-test-suite run pts/byte
    But when I actually run it the test still prompts me for a file name:
    Code:
    Enter a unique name to describe this test run / configuration:
    Any ideas why would be greatly appreciated.

  • #2
    Never mind, managed to solve the previous problem by specifying values for TEST_RESULTS_IDENTIFIER and TEST_RESULTS_DESCRIPTION also.
    However there is one final prompt that I need to get by before phoronix terminates:

    Code:
        Would you like to upload these results to OpenBenchmarking.org (Y/n):
    What would I need to do in order to automatically set this to y/n?

    Comment


    • #3
      Originally posted by MLLL View Post
      What would I need to do in order to automatically set this to y/n?
      See the documentation with regard to batch-setup and batch-run options.
      Michael Larabel
      http://www.michaellarabel.com/

      Comment


      • #4
        Solved using:

        Code:
        phoronix-test-suite run mysuite <<EOF
        n
        EOF
        Last edited by MLLL; 06-22-2012, 03:24 AM. Reason: Typo

        Comment

        Working...
        X