tests: fix build with alternate X11 paths.

If a program explicitly uses libfoo functions (libX11 for instance here),
then it shall be explicitly linked against that library. So, fix all
instances where X11 functions are called to include the right paths
to headers and libraries.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
4 files changed