(self)
| 110 | return values |
| 111 | |
| 112 | def load_flags_auxv(self): |
| 113 | auxv = subprocess.check_output(['/bin/true'], env={"LD_SHOW_AUXV": "1"}) |
| 114 | for at in auxv.split(b'\n'): |
| 115 | if not at.startswith(b"AT_HWCAP"): |
| 116 | continue |
| 117 | hwcap_value = [s.strip() for s in at.split(b':', 1)] |
| 118 | if len(hwcap_value) == 2: |
| 119 | self.features_flags = self.features_flags.union( |
| 120 | hwcap_value[1].upper().decode().split() |
| 121 | ) |
| 122 | |
| 123 | @pytest.mark.skipif( |
| 124 | sys.platform == 'emscripten', |
no test coverage detected