[Piglit] Piglit fails to run OpenCL tests with --valgrind
Simon Richter
Simon.Richter at hogyros.de
Fri Aug 2 14:47:08 UTC 2019
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 been handled was not:\nTest executable not found.\n",
It seems that something assumes that "valgrind" is supposed to be the test executable (so the path to the executables is prepended). For tests that have an argument, e.g the compile tests that use a .cl file, that file is listed on the command line:
"command": "/usr/lib/x86_64-linux-gnu/piglit/bin/valgrind /usr/lib/x86_64-linux-gnu/piglit/tests/cl/program/build/version-declaration.cl",
This should be reproducible with any OpenCL platform.
Simon
More information about the Piglit
mailing list