First of all i write on a new topic because the forums software does not allow me to reply on the existing topic.
I have created a initial recipe and patchset and launcher but it is far from complete so i have it in my personal repo (it is my first porting effort anyway).I also have the hpkg for those who wish to try it immediately.
There are approx. 530 tests available.Pts downloads them and installs them on the fly so i havent tried them all.
Some graphics tests fail with “The test run did not produce a result.”
Some other tests produce crash dialogs
Some test fail because the user should be root (i will bypass the detection next time i update the patchset)
# Pack script
mkdir -p $prefix/bin && cp $portDir/additional-files/pts_launcher.sh $prefix/bin
chmod +x $prefix/bin/pts_launcher.sh
# link script
addAppDeskbarSymlink $prefix/bin/pts_launcher.sh "Phoronix Test Suite (interactive mode)"
This way you can still launch it from Deskbar or directly in Terminal? Would need cmd:pts_launcher.sh in PROVIDES then.
Also switch SOURCE_DIR and PATCHES in the recipe (with an empty space between PATCHES and ARCHITECTURES and on after ARCHITECTURES.
Other then that, packages OK so thanks there! Now I only need to find out how this actually works, running it and selecting 1 and Enter doesn’t seem to do much?
EDIT: ADDITIONAL_FILES comes right after PATCHES (no empty line in between the both)
From memory, Haiku nightly has many additional runtime checks compared to official Beta’s, so there will be a noticable performance delta between them. Getting results on nightly and comparing against Linux release isnt a fair comparison. Also, any file system dependant checks are iffy since the BeFS simply does more with attribute book keeping (more work = slower benchmarks). Also the tests may be Posix optimised while Haiku may have alternative faster native solution, which doesn’t get tested. Finally, Haiku never got the millions of dev hours squeezing every tiny little bit of performance.
All in all, you can easily tell Haiku devs haven’t rushed to port the Phoronix test suite since nobody want to deal with the innevitable “linux is faster” conclusion that may come up. A drag race car is great on sections of straight roads, but we need storage space for the groceries and to seat 5 adults.
The test is only useful to test different Haiku versions, to test regressions. Compiling a full Haiku package kind of does the same thing.