]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
selftest/virgl: use pkg-config from the host
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 12 Jan 2023 15:41:35 +0000 (16:41 +0100)
committerSteve Sakoman <steve@sakoman.com>
Sat, 4 Feb 2023 14:34:20 +0000 (04:34 -1000)
commitb2e06c9cf88b4d48e36d845a3cfabf4f3668d605
tree19b5f5e40661b3d2fc8b32cb260c8492c7d8e218
parente872f6636f4cb51426edc6c985e58d2fb74e0f96
selftest/virgl: use pkg-config from the host

The check needs to report dri location on the host machine,
so pkg-config binary needs to be capable of finding the needed
dri.pc file on the host, and therefore needs to know where
host .pc files are located.

This may not be the case when using pkg-config from buildtools,
so this forces usage of host pkg-config.

runqemu already does the same PATH tweak, so this simply brings
the two in sync.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0521f8a3ba7e15482756529ee7b0a95b3d53e7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/runtime_test.py