Announcement

Collapse
No announcement yet.

Non-Interactive Run

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

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

    Leave a comment:


  • Michael
    replied
    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.

    Leave a comment:


  • cscott
    started a topic Non-Interactive Run

    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!
Working...
X