Help, Where Are Tests Installed?
I added one test under phoronix, right now I can install the test(even I don't know where it is, at least it has no error message), but when I run it, I got "The test executable could not be found.. Test terminating"
I did edit the install.sh under test-resources.
What should I do?
Where are the tests which downloaded?
What test are you trying to run? If it was a test you made, can you post the contents of the scripts you wrote?
The tests are installed to ~/.phoronix-test-suite/installed-tests/
Thanks for looking into my question.
I extracted the bundle of the phoronix-tests-suite.tar.gz file in my suse machine, didn't see installed-tests under phonronix-test-suite, do I need to install it in my machine?
Here are the files I wrote and put them under pts/test-resources
one is downloads.xml, one is install.sh. Please see the file as following:
if [ \$SYS_MEMORY -ge 1280 ]
elif [ \$SYS_MEMORY -ge 768 ]
java -Dsun.java2d.opengl=True -Xmx\$JAVA_VM_MEMORY SrcMaskOps
" > javaogl-test
chmod +x javaogl-test
Thanks for the help.
The Phoronix Test Suite can be ran locally or can be installed (either through a distribution page or running the included install script).
The first time you run the Phoronix Test Suite, whether it be locally or system-wide, it should create the ~/.phoronix-test-suite/ hidden home directory for storing the configuration files and installing the tests in installed-tests/
Okay, then with those two files (install.sh and downloads.xml) in say test-resources/javatest/ directory. Or a better name may be test-resources/javaogl-test/
Then you need to write the XML profile. It should then be called javatest.xml or javaogl-test.xml and be placed in the test-profiles/ folder. If you haven't looked at the documentation, check out http://www.phoronix-test-suite.com/d...irst_test.html and some of the other profiles to get a better idea.
if you have any other questions, let me know.
Thanks for the information.
I did create javaogl-test.xml under test-profiles as well,
I can see the download working(files are there), and install.sh created a script which it should run the tests.
When I do ./phoronix-test-suite run javaogl-test, I got the executable would not found and terminating, but if I am in the .phoronix-test-suite/installed-tests/javaogl-test, and manaully call the script called javaogl-test by sh javaogl-test, it works.
So it make me think pts-run-cmd.php should call the script which created by install.sh in somewhere, am I right?
I am close to make it works, everything is there, but just executable wounld not found, but it is there, wondering which executable the harness wants to find.
Right now, I am trying to add some of our tests under the harness, rigI and evaluating the harness now.
Originally Posted by Michael
I got the downloaded tests
I added echo pwd in the install.sh
and re-run the install, and find the .phoronix-test-suite under my home dir and there is installed-tests under it, my tests are there, looks like the problems is the permission, right now I can run it.
Anyway, thanks for helping.
If there is a javaogl-test script that's executable within ~/.phoronix-test-suite/installed-tests/javaogl-test/ it should be automatically called. Otherwise you'd need to add an executable tag within the javaogl-test.xml profile that specifies an alternate name (example: http://www.phorogit.com/index.php?p=...43a24bce43d54a). As to why it wouldn't be calling it if you do indeed have it named exactly the same, that is puzzling.
if you're continuing to run into issues with it and want me to take a look, you can email any of the scripts to michael [at] phoronix.com and would be glad to figure out what's going wrong.
How do I save results?
Thanks for the help. Right now, I can use phoronix run our tests, but looks like the results are not saved, when I run the tests, it asks me Y/N for save a result, I type Y and gave a file name and the number, after the test is completed, I checked savefile dir, there are no results saved, only the sample-program which I tried before.
Besides giving the options during launch the test, what I should do in order to save our results in the dir, so I can use phoronix to view the results.
If you can give me a tip, would be great.
Originally Posted by Michael
What type of data is the test returning? Is it say a frame-rate or just a pass-fail scenario or what? Unless the only thing returned is the result (with no extra text), you'll need a parse-results.php file. The entire contents of whatever was printed to the screen during testing is set as $argv inside the parse-results.php and from there you need to strip out everything except for the actual number (permitting it is a numerical result you're testing). That number should just be echo'ed inside the script. Look at some of the other test profiles for more examples.
Permitting that's going on, then it should automatically save the results for you. Right now it's likely not saving the results as the Phoronix Test Suite isn't detecting the result.
If that's not clear or you're still running into problems, let me know.
Any other progress with the JavaOGL tests or any other issues you've ran into?