diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 2 |
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 857737f730..858f12ec90 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
| @@ -263,7 +263,7 @@ class TestImage(OESelftestTestCase): | |||
| 263 | except FileNotFoundError: | 263 | except FileNotFoundError: |
| 264 | self.fail("/dev/dri directory does not exist; no render nodes available on this machine. %s" %(render_hint)) | 264 | self.fail("/dev/dri directory does not exist; no render nodes available on this machine. %s" %(render_hint)) |
| 265 | try: | 265 | try: |
| 266 | dripath = subprocess.check_output("pkg-config --variable=dridriverdir dri", shell=True) | 266 | dripath = subprocess.check_output("PATH=/bin:/usr/bin:$PATH pkg-config --variable=dridriverdir dri", shell=True) |
| 267 | except subprocess.CalledProcessError as e: | 267 | except subprocess.CalledProcessError as e: |
| 268 | self.fail("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.") | 268 | self.fail("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.") |
| 269 | qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') | 269 | qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') |
