/external/bcc/tests/python/ |
D | test_tools_smoke.py | 9 from unittest import main, skipUnless, TestCase 24 @skipUnless(kernel_version_ge(4,1), "requires kernel >= 4.1") 71 @skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4") 78 @skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4") 95 @skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4") 109 @skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4") 116 @skipUnless(kernel_version_ge(4,9), "requires kernel >= 4.9") 120 @skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4") 126 @skipUnless(kernel_version_ge(4,3), "requires kernel >= 4.3") 132 @skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4") [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_posix.py | 56 @unittest.skipUnless(hasattr(posix, 'getresuid'), 64 @unittest.skipUnless(hasattr(posix, 'getresgid'), 72 @unittest.skipUnless(hasattr(posix, 'setresuid'), 80 @unittest.skipUnless(hasattr(posix, 'setresuid'), 89 @unittest.skipUnless(hasattr(posix, 'setresgid'), 97 @unittest.skipUnless(hasattr(posix, 'setresgid'), 106 @unittest.skipUnless(hasattr(posix, 'initgroups'), 131 @unittest.skipUnless(hasattr(posix, 'statvfs'), 136 @unittest.skipUnless(hasattr(posix, 'fstatvfs'), 145 @unittest.skipUnless(hasattr(posix, 'ftruncate'), [all …]
|
D | test_os.py | 88 @unittest.skipUnless(hasattr(os, 'tempnam'), 'test needs os.tempnam()') 103 @unittest.skipUnless(hasattr(os, 'tmpfile'), 'test needs os.tmpfile()') 153 @unittest.skipUnless(hasattr(os, 'tmpnam'), 'test needs os.tmpnam()') 195 @unittest.skipUnless(hasattr(os, 'stat'), 'test needs os.stat()') 256 @unittest.skipUnless(hasattr(os, 'statvfs'), 'test needs os.statvfs()') 320 @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") 321 @unittest.skipUnless(get_file_system(test_support.TESTFN) == "NTFS", 328 @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") 329 @unittest.skipUnless(get_file_system(test_support.TESTFN) == "NTFS", 336 @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") [all …]
|
D | test_uuid.py | 323 @unittest.skipUnless(importable('ctypes'), 'requires ctypes') 377 @unittest.skipUnless(importable('ctypes'), 'requires ctypes') 410 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 434 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 474 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 479 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 484 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 489 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 494 @unittest.skipUnless(os.name == 'nt', 'requires Windows') 499 @unittest.skipUnless(importable('win32wnet'), 'requires win32wnet') [all …]
|
D | test_shutil.py | 82 @unittest.skipUnless(hasattr(os, 'chmod'), 'requires os.chmod()') 314 @unittest.skipUnless(hasattr(os, "mkfifo"), 'requires os.mkfifo()') 325 @unittest.skipUnless(hasattr(os, "mkfifo"), 'requires os.mkfifo()') 346 @unittest.skipUnless(hasattr(os, 'chflags') and 375 @unittest.skipUnless(zlib, "requires zlib") 432 @unittest.skipUnless(zlib, "Requires zlib") 433 @unittest.skipUnless(find_executable('tar'), 464 @unittest.skipUnless(ZIP_SUPPORT, 'Need zip support to run') 502 @unittest.skipUnless(ZIP_SUPPORT, 'Need zip support to run') 503 @unittest.skipUnless(find_executable('zip'), [all …]
|
D | test_gdb.py | 701 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 714 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 722 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 732 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 783 @unittest.skipUnless(thread, 824 @unittest.skipUnless(thread, 852 @unittest.skipUnless(thread, 906 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands") 940 @unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
|
/external/python/cpython3/Lib/test/ |
D | test_posix.py | 25 requires_32b = unittest.skipUnless(sys.maxsize < 2**32, 38 requires_sched = unittest.skipUnless(_supports_sched(), 'requires POSIX scheduler API') 73 @unittest.skipUnless(hasattr(posix, 'getresuid'), 81 @unittest.skipUnless(hasattr(posix, 'getresgid'), 89 @unittest.skipUnless(hasattr(posix, 'setresuid'), 97 @unittest.skipUnless(hasattr(posix, 'setresuid'), 106 @unittest.skipUnless(hasattr(posix, 'setresgid'), 114 @unittest.skipUnless(hasattr(posix, 'setresgid'), 123 @unittest.skipUnless(hasattr(posix, 'initgroups'), 148 @unittest.skipUnless(hasattr(posix, 'statvfs'), [all …]
|
D | test_signal.py | 80 @unittest.skipUnless(sys.executable, "sys.executable required.") 97 @unittest.skipUnless(sys.platform == "win32", "Windows specific") 130 @unittest.skipUnless(sys.executable, "sys.executable required.") 386 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 404 @unittest.skipUnless(hasattr(socket, 'socketpair'), 'need socket.socketpair') 788 @unittest.skipUnless(hasattr(signal, 'sigpending'), 793 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 795 @unittest.skipUnless(hasattr(signal, 'sigpending'), 824 @unittest.skipUnless(hasattr(signal, 'pthread_kill'), 849 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), [all …]
|
D | test_crypt.py | 15 @unittest.skipUnless(sys.platform == 'win32', 'This should only run on windows') 23 @unittest.skipUnless(crypt, 'crypt module is required') 59 @unittest.skipUnless( 78 @unittest.skipUnless(
|
D | test_uuid.py | 522 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 548 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 556 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 562 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 568 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 641 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 672 @unittest.skipUnless(c_uuid, 'requires the C _uuid module') 825 @unittest.skipUnless(_uuid._ifconfig_getnode in _uuid._GETTERS, 831 @unittest.skipUnless(_uuid._ip_getnode in _uuid._GETTERS, 837 @unittest.skipUnless(_uuid._arp_getnode in _uuid._GETTERS, [all …]
|
D | test_os.py | 80 return unittest.skipUnless(hasattr(os, name), 'requires os.%s' % name) 206 @unittest.skipUnless(INT_MAX < PY_SSIZE_T_MAX, 242 @unittest.skipUnless(sys.platform == 'win32', 292 @unittest.skipUnless(hasattr(os, 'copy_file_range'), 'test needs os.copy_file_range()') 297 @unittest.skipUnless(hasattr(os, 'copy_file_range'), 'test needs os.copy_file_range()') 331 @unittest.skipUnless(hasattr(os, 'copy_file_range'), 'test needs os.copy_file_range()') 468 @unittest.skipUnless(hasattr(os, 'statvfs'), 'test needs os.statvfs()') 512 @unittest.skipUnless(hasattr(os, 'statvfs'), 525 @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") 535 @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") [all …]
|
D | test_time.py | 92 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 98 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 100 @unittest.skipUnless(hasattr(time, 'CLOCK_MONOTONIC'), 107 @unittest.skipUnless(hasattr(time, 'pthread_getcpuclockid'), 109 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 125 @unittest.skipUnless(hasattr(time, 'clock_getres'), 132 @unittest.skipUnless(hasattr(time, 'clock_settime'), 318 @unittest.skipUnless(hasattr(time, "tzset"), 435 @unittest.skipUnless(platform.libc_ver()[0] != 'glibc', 509 @unittest.skipUnless(hasattr(time, 'clock_settime'), [all …]
|
D | test_eintr.py | 11 @unittest.skipUnless(os.name == "posix", "only supported on Unix") 14 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()")
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_archive_util.py | 55 @unittest.skipUnless(zlib, "requires zlib") 68 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0], 119 @unittest.skipUnless(zlib, "Requires zlib") 120 @unittest.skipUnless(find_executable('tar') and find_executable('gzip'), 173 @unittest.skipUnless(find_executable('compress'), 205 @unittest.skipUnless(zlib, "Requires zlib") 206 @unittest.skipUnless(ZIP_SUPPORT, 'Need zip support to run') 230 @unittest.skipUnless(zlib, "Requires zlib") 257 @unittest.skipUnless(zlib, "Requires zlib") 258 @unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support") [all …]
|
D | test_sdist.py | 92 @unittest.skipUnless(zlib, "requires zlib") 135 @unittest.skipUnless(zlib, "requires zlib") 164 @unittest.skipUnless(zlib, "requires zlib") 186 @unittest.skipUnless(zlib, "requires zlib") 259 @unittest.skipUnless(zlib, "requires zlib") 320 @unittest.skipUnless(zlib, "requires zlib") 321 @unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support") 394 @unittest.skipUnless(zlib, "requires zlib") 436 @unittest.skipUnless(zlib, "requires zlib") 453 @unittest.skipUnless(zlib, 'requires zlib') [all …]
|
D | test_bdist_rpm.py | 50 @unittest.skipUnless(sys.platform.startswith('linux'), 52 @unittest.skipUnless(zlib, "requires zlib") 93 @unittest.skipUnless(sys.platform.startswith('linux'), 95 @unittest.skipUnless(zlib, "requires zlib")
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_loading.py | 25 @unittest.skipUnless(libc_name is not None, 'could not find libc') 32 @unittest.skipUnless(libc_name is not None, 'could not find libc') 37 @unittest.skipUnless(libc_name is not None, 'could not find libc') 38 @unittest.skipUnless(libc_name is not None and 54 @unittest.skipUnless(os.name in ("nt", "ce"), 73 @unittest.skipUnless(os.name in ("nt", "ce"), 90 @unittest.skipUnless(os.name == "nt", 'Windows-specific test') 101 @unittest.skipUnless(os.name == "nt", 'Windows-specific test')
|
D | test_win32.py | 11 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 12 @unittest.skipUnless(sizeof(c_void_p) == sizeof(c_int), 39 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 41 @unittest.skipUnless('MSC' in sys.version, "SEH only supported by MSC") 55 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test')
|
D | test_find.py | 54 @unittest.skipUnless(lib_gl, 'lib_gl not available') 59 @unittest.skipUnless(lib_glu, 'lib_glu not available') 64 @unittest.skipUnless(lib_gle, 'lib_gle not available')
|
/external/python/cpython3/Lib/test/eintrdata/ |
D | eintr_tester.py | 38 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 78 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 98 @unittest.skipUnless(hasattr(os, 'wait3'), 'requires wait3()') 111 @unittest.skipUnless(hasattr(os, 'wait4'), 'requires wait4()') 183 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 187 @unittest.skipUnless(hasattr(socket, 'socketpair'), 'needs socketpair()') 226 @unittest.skipUnless(hasattr(socket.socket, 'recvmsg'), 'needs recvmsg()') 282 @unittest.skipUnless(hasattr(socket.socket, 'sendmsg'), 'needs sendmsg()') 315 @unittest.skipUnless(hasattr(os, 'mkfifo'), 'needs mkfifo()') 366 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") [all …]
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_archive_util.py | 64 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 72 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 77 @unittest.skipUnless(bz2, 'Need bz2 support to run') 82 @unittest.skipUnless(lzma, 'Need lzma support to run') 87 @unittest.skipUnless(can_fs_encode('årchiv'), 95 @unittest.skipUnless(can_fs_encode('のアーカイブ'), 106 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0], 145 @unittest.skipUnless(find_executable('tar') and find_executable('gzip') 202 @unittest.skipUnless(find_executable('compress'), 235 @unittest.skipUnless(ZIP_SUPPORT and ZLIB_SUPPORT, [all …]
|
D | test_sdist.py | 90 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 135 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 168 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 247 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 334 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 376 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 393 @unittest.skipUnless(ZLIB_SUPPORT, "Need zlib support to run") 410 @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run') 440 @unittest.skipUnless(ZLIB_SUPPORT, "requires zlib") 441 @unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support")
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_loading.py | 52 @unittest.skipUnless(os.name == "nt", 70 @unittest.skipUnless(os.name == "nt", 87 @unittest.skipUnless(os.name == "nt", 'Windows-specific test') 98 @unittest.skipUnless(os.name == "nt", 'Windows-specific test') 117 @unittest.skipUnless(os.name == "nt",
|
D | test_win32.py | 9 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 11 @unittest.skipUnless('MSC' in sys.version, "SEH only supported by MSC") 28 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 46 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 70 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test')
|
/external/python/pycparser/tests/ |
D | test_general.py | 28 @unittest.skipUnless(platform.system() == 'Linux', 46 @unittest.skipUnless(platform.system() == 'Linux', 58 @unittest.skipUnless(platform.system() == 'Linux',
|