<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Dec 19, 2018 at 3:57 PM Dylan Baker <<a href="mailto:dylan@pnwbakers.com">dylan@pnwbakers.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi list,<br>
<br>
I've been off and on working on a new test runner for piglit written in C++14.<br>
Its been sitting on my gitlab publicly for a bit, and I've shared it with some<br>
people at Intel, but I thought I'd send out an announcement and see if I could<br>
get some more interest. It's called swineherd, and it lives here:<br>
<br>
<a href="https://gitlab.freedesktop.org/dbaker/swineherd" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/dbaker/swineherd</a><br>
<br>
Swineherd currently is pretty limited, it still needs a lot of work to be a<br>
replacement for the piglit runner, but it can run tests and get output, and does<br>
so much faster than the python runner.<br>
<br>
It currently can:<br>
- read the gz compressed profile xml that piglit produces<br>
- run tests<br>
- get the output of tests<br>
- write an uncompressed json file that piglit's summary tools can consume<br>
- only builds and runs on Linux<br>
<br>
I have a few opened issues on the gitlab tracker for it, that I may or may not<br>
get around to doing all of.<br>
<br>
I currently don't plan this to support every single option piglit does, because<br>
my main concern with swineherd is performance, I want this runner to be as fast<br>
as possible. Among the things I don't want to implement:<br>
<br>
- dmesg support. This forces serial test running and pauses between tests.<br>
- reboot on failure support<br></blockquote><div><br></div><div>Those two nerf piglit runtimes so badly that you're not going to gain anything from a C++ runner. I'm perfectly happy for us to carry python for that for now.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- other things I haven't mentioned<br>
<br>
I'd be happy to take MRs for this, if you'd like to add things or fix things :)<br>
<br>
I'm also opened to merging this into piglit proper, once I feel like it's pretty<br>
stable and has enough features to be generally useful.<br>
<br>
Dylan<br>
</blockquote></div></div>