summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index aeda01848a..5439bd426b 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -236,7 +236,7 @@ class TestImage(OESelftestTestCase):
236 except FileNotFoundError: 236 except FileNotFoundError:
237 self.skipTest("/dev/dri directory does not exist; no render nodes available on this machine.") 237 self.skipTest("/dev/dri directory does not exist; no render nodes available on this machine.")
238 try: 238 try:
239 dripath = subprocess.check_output("pkg-config --variable=dridriverdir dri", shell=True) 239 dripath = subprocess.check_output("PATH=/bin:/usr/bin:$PATH pkg-config --variable=dridriverdir dri", shell=True)
240 except subprocess.CalledProcessError as e: 240 except subprocess.CalledProcessError as e:
241 self.skipTest("Could not determine the path to dri drivers on the host via pkg-config.\nPlease install Mesa development files (particularly, dri.pc) on the host machine.") 241 self.skipTest("Could not determine the path to dri drivers on the host via pkg-config.\nPlease install Mesa development files (particularly, dri.pc) on the host machine.")
242 qemu_packageconfig = get_bb_var('PACKAGECONFIG', 'qemu-system-native') 242 qemu_packageconfig = get_bb_var('PACKAGECONFIG', 'qemu-system-native')