How to skip phoronix-test-suite inital questions


How to skip phoronix-test-suite inital questions



I would like to use phoronix-test-suite to benchmark cloud instances of different providers.



Nevertheless automation seems to get hang, because phoronix-test-suites asks three initial questions to accept license agreement, whether to upload benchmark results to openbenchmarking and so on.



I know that the batch-run can be preconfigured using the user-config.xml file. But this seems not sufficient to run benchmarks non-interactively the first time.



Phoronix-test-suite still asks its initial questions which prevents automatic benchmarking of



Can anybody help? Is there another file which phoronix-test-suite needs to not ask its initial questions?




2 Answers
2



running "phoronix-test-suite enterprise-setup" on PTS 5.6+ is another way to avoid the initial setup questions.



After digging in the sources I discovered environment variable - PTS_SILENT_MODE. Just set it to 1.



Example:
On fresh install when I run


PTS_SILENT_MODE=1 phoronix-test-suite benchmark pts/openssl-1.9.0



Then 3 initial questions are not asked





Thanks. Cool tip. I figured out this variant here using the 'yes' command. yes | phoronix-test-suites ... This will answer all questions with 'yes' and phoronix will run non-interactively. Nevertheless all collected benchmark data will be provided to openbenchmarking.org. Does the PTS_SILENT_MODE do the same?
– user3385132
Feb 22 '15 at 13:47







By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV