Home
last modified time | relevance | path

Searched refs:skipUnless (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/external/bcc/tests/python/
Dtest_tools_smoke.py9 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/
Dtest_posix.py56 @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 …]
Dtest_os.py88 @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 …]
Dtest_uuid.py323 @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 …]
Dtest_shutil.py82 @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 …]
Dtest_gdb.py701 @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")
Dtest_threading.py415 @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/
Dtest_posix.py23 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 …]
Dtest_signal.py65 @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 …]
Dtest_uuid.py518 @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 …]
Dtest_os.py85 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 …]
Dtest_time.py101 @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 …]
Dtest_xml_etree_c.py16 @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/
Dtest_archive_util.py55 @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 …]
Dtest_sdist.py92 @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 …]
Dtest_bdist_rpm.py50 @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/
Deintr_tester.py37 @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/
Dtest_loading.py25 @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')
Dtest_win32.py11 @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')
Dtest_find.py54 @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/
Dtest_archive_util.py64 @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 …]
Dtest_sdist.py90 @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/
Dtest_win32.py10 @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')
Dtest_loading.py50 @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/
Dcudnn_rnn_test.py272 @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 …]

12345678910>>...13