Results 1 to 4 of 4

Thread: Enviromental Variables

  1. #1
    Join Date
    Jun 2012
    Posts
    12

    Default 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. #2
    Join Date
    Jun 2012
    Posts
    12

    Default

    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?

  3. #3

    Default

    Quote 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.

  4. #4
    Join Date
    Jun 2012
    Posts
    12

    Default

    Solved using:

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •