/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")
|
D | test_threading.py | 415 @unittest.skipUnless(hasattr(os, 'fork'), 'test needs fork()') 442 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 523 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 540 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 572 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 645 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 703 @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") 891 @unittest.skipUnless(sys.platform == 'darwin', 'test macosx problem')
|
/external/python/cpython3/Lib/test/ |
D | test_posix.py | 23 requires_32b = unittest.skipUnless(sys.maxsize < 2**32, 36 requires_sched = unittest.skipUnless(_supports_sched(), 'requires POSIX scheduler API') 70 @unittest.skipUnless(hasattr(posix, 'getresuid'), 78 @unittest.skipUnless(hasattr(posix, 'getresgid'), 86 @unittest.skipUnless(hasattr(posix, 'setresuid'), 94 @unittest.skipUnless(hasattr(posix, 'setresuid'), 103 @unittest.skipUnless(hasattr(posix, 'setresgid'), 111 @unittest.skipUnless(hasattr(posix, 'setresgid'), 120 @unittest.skipUnless(hasattr(posix, 'initgroups'), 145 @unittest.skipUnless(hasattr(posix, 'statvfs'), [all …]
|
D | test_signal.py | 65 @unittest.skipUnless(sys.platform == "win32", "Windows specific") 331 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 349 @unittest.skipUnless(hasattr(socket, 'socketpair'), 'need socket.socketpair') 733 @unittest.skipUnless(hasattr(signal, 'sigpending'), 738 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 740 @unittest.skipUnless(hasattr(signal, 'sigpending'), 769 @unittest.skipUnless(hasattr(signal, 'pthread_kill'), 794 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 840 @unittest.skipUnless(hasattr(signal, 'sigwait'), 852 @unittest.skipUnless(hasattr(signal, 'sigwaitinfo'), [all …]
|
D | test_uuid.py | 518 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 544 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 552 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 558 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 564 @unittest.skipUnless(os.name == 'posix', 'POSIX-only test') 620 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 646 @unittest.skipUnless(c_uuid, 'requires the C _uuid module') 654 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 687 @unittest.skipUnless(os.name == 'posix', 'requires Posix') 692 @unittest.skipUnless(os.name == 'posix', 'requires Posix') [all …]
|
D | test_os.py | 85 return unittest.skipUnless(hasattr(os, name), 'requires os.%s' % name) 147 @unittest.skipUnless(INT_MAX < PY_SSIZE_T_MAX, 183 @unittest.skipUnless(sys.platform == 'win32', 241 @unittest.skipUnless(hasattr(os, 'stat'), 'test needs os.stat()') 327 @unittest.skipUnless(hasattr(os, 'statvfs'), 'test needs os.statvfs()') 371 @unittest.skipUnless(hasattr(os, 'statvfs'), 384 @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") 394 @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") 395 @unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()") 413 @unittest.skipUnless(sys.platform == "win32", [all …]
|
D | test_time.py | 101 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 107 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 109 @unittest.skipUnless(hasattr(time, 'CLOCK_MONOTONIC'), 116 @unittest.skipUnless(hasattr(time, 'pthread_getcpuclockid'), 118 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 128 @unittest.skipUnless(hasattr(time, 'clock_getres'), 135 @unittest.skipUnless(hasattr(time, 'clock_settime'), 320 @unittest.skipUnless(hasattr(time, "tzset"), 444 @unittest.skipUnless(platform.libc_ver()[0] != 'glibc', 517 @unittest.skipUnless(hasattr(time, 'clock_settime'), [all …]
|
D | test_xml_etree_c.py | 16 @unittest.skipUnless(cET, 'requires _elementtree') 158 @unittest.skipUnless(cET, 'requires _elementtree') 166 @unittest.skipUnless(cET, 'requires _elementtree') 184 @unittest.skipUnless(cET, 'requires _elementtree')
|
/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/cpython3/Lib/test/eintrdata/ |
D | eintr_tester.py | 37 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 79 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 99 @unittest.skipUnless(hasattr(os, 'wait3'), 'requires wait3()') 112 @unittest.skipUnless(hasattr(os, 'wait4'), 'requires wait4()') 184 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 188 @unittest.skipUnless(hasattr(socket, 'socketpair'), 'needs socketpair()') 227 @unittest.skipUnless(hasattr(socket.socket, 'recvmsg'), 'needs recvmsg()') 283 @unittest.skipUnless(hasattr(socket.socket, 'sendmsg'), 'needs sendmsg()') 319 @unittest.skipUnless(hasattr(os, 'mkfifo'), 'needs mkfifo()') 370 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") [all …]
|
/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/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_win32.py | 10 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 11 @unittest.skipUnless(sizeof(c_void_p) == sizeof(c_int), 38 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 40 @unittest.skipUnless('MSC' in sys.version, "SEH only supported by MSC") 57 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 75 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test') 99 @unittest.skipUnless(sys.platform == "win32", 'Windows-specific test')
|
D | test_loading.py | 50 @unittest.skipUnless(os.name == "nt", 68 @unittest.skipUnless(os.name == "nt", 85 @unittest.skipUnless(os.name == "nt", 'Windows-specific test') 96 @unittest.skipUnless(os.name == "nt", 'Windows-specific test')
|
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/ |
D | cudnn_rnn_test.py | 272 @unittest.skipUnless(test.is_built_with_cuda(), 325 @unittest.skipUnless(test.is_built_with_cuda(), 372 @unittest.skipUnless(test.is_built_with_cuda(), 415 @unittest.skipUnless(test.is_built_with_cuda(), 439 @unittest.skipUnless(test.is_built_with_cuda(), 672 @unittest.skipUnless(test.is_built_with_cuda(), 691 @unittest.skipUnless(test.is_built_with_cuda(), 696 @unittest.skipUnless(test.is_built_with_cuda(), 701 @unittest.skipUnless(test.is_built_with_cuda(), 706 @unittest.skipUnless(test.is_built_with_cuda(), [all …]
|