Announcement

Collapse
No announcement yet.

Non-Interactive Run

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

  • Non-Interactive Run

    I'm currently trying to have phoronix-test-suite run without prompting for any input, I have used the environment variables to prevent the prompts for result name, identifier and description, as well as the user-config.xml setting to disable the upload to OpenBenchmark.org prompt. Unfortunately, I still receive the prompt asking about viewing the results file in the browser. I noticed that in the (pts_client.php)[https://github.com/phoronix-test-sui...ent.php#L2069] there is a check for "PHOROMATIC_PROCESS" before delivering the prompt regarding viewing of the results file, however, I could not find any mention of an environment variable that matches that in the [documentation](https://www.phoronix-test-suite.com/...test-suite.pdf). I'm not familiar with php though and I may be interpreting that incorrectly. Any help is greatly appreciated!

  • #2
    Originally posted by cscott View Post
    I'm currently trying to have phoronix-test-suite run without prompting for any input, I have used the environment variables to prevent the prompts for result name, identifier and description, as well as the user-config.xml setting to disable the upload to OpenBenchmark.org prompt. Unfortunately, I still receive the prompt asking about viewing the results file in the browser. I noticed that in the (pts_client.php)[https://github.com/phoronix-test-sui...ent.php#L2069] there is a check for "PHOROMATIC_PROCESS" before delivering the prompt regarding viewing of the results file, however, I could not find any mention of an environment variable that matches that in the [documentation](https://www.phoronix-test-suite.com/...test-suite.pdf). I'm not familiar with php though and I may be interpreting that incorrectly. Any help is greatly appreciated!
    You shouldn't need to modify anything. With the environment variables sorted out, just do:

    phoronix-test-suite batch-setup

    (When promtped around the web browser behavior, say 'no').

    Then just do:

    phoronix-test-suite batch-run (or batch-benchmark) with your env variables set and whatever you were running... In the batch mode when configured not to prompt, it should behave just as you desire.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Thank you Michael! I didn't even consider the batch run, but this worked exactly like I was hoping!

      Comment

      Working...
      X