[Piglit] Piglit fails to run OpenCL tests with --valgrind

2019-08-02 Thread Simon Richter
Hi, I'm trying to run the OpenCL testsuite under valgrind, using piglit run --valgrind cl cl.results All tests are skipped, with "result": "skip", "command": "/usr/lib/x86_64-linux-gnu/piglit/bin/valgrind", "out": "An internal exception that should have b

[Piglit] [PATCH] Apply path correction to correct argument

2019-08-13 Thread Simon Richter
This fixes running OpenCL tests under Valgrind, by applying the path transformation to the argument that the original command turned into. It would be nice to have a cleaner solution here that doesn't depend on text substitution, but as long as there is no OpenCL test named "valgrind", this should