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:
But when I actually run it the test still prompts me for a file name:
MLLLcomp:~# export TEST_RESULTS_NAME=test1
MLLLcomp:~# env | grep TEST_RESULTS_NAME
MLLLcomp:~# phoronix-test-suite run pts/byte
Any ideas why would be greatly appreciated.
Enter a unique name to describe this test run / configuration:
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:
What would I need to do in order to automatically set this to y/n?
Would you like to upload these results to OpenBenchmarking.org (Y/n):
See the documentation with regard to batch-setup and batch-run options.
Originally Posted by MLLL
phoronix-test-suite run mysuite <<EOF