aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/ut/ya.make
blob: 1a80772a8ad80879352eccfd4b7229a3266e9024 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
UNITTEST_FOR(util)

FORK_TESTS()

FORK_SUBTESTS()

SPLIT_FACTOR(40)

TIMEOUT(300)

SIZE(MEDIUM)

EXPLICIT_DATA()

IF (OS_DARWIN)
    SIZE(LARGE)
    TAG(ya:fat ya:force_sandbox ya:exotic_platform)
    TIMEOUT(3600)
ENDIF()

PEERDIR(
    library/cpp/testing/benchmark
)

SRCS(
    system/align_ut.cpp
    system/atexit_ut.cpp
    system/backtrace_ut.cpp
    system/byteorder_ut.cpp
    system/compat_ut.cpp
    system/compiler_ut.cpp
    system/context_ut.cpp
    system/condvar_ut.cpp
    system/cpu_id_ut.cpp
    system/datetime_ut.cpp
    system/daemon_ut.cpp
    system/direct_io_ut.cpp
    system/env_ut.cpp
    system/error_ut.cpp
    system/event_ut.cpp
    system/execpath_ut.cpp
    system/file_ut.cpp
    system/filemap_ut.cpp
    system/flock_ut.cpp
    system/fs_ut.cpp
    system/fstat_ut.cpp
    system/getpid_ut.cpp
    system/guard_ut.cpp
    system/hi_lo_ut.cpp
    system/hostname_ut.cpp
    system/info_ut.cpp
    system/interrupt_signals_ut.cpp
    system/mem_info_ut.cpp
    system/mincore_ut.cpp
    system/mutex_ut.cpp
    system/nice_ut.cpp
    system/pipe_ut.cpp
    system/platform_ut.cpp
    system/progname_ut.cpp
    system/rusage_ut.cpp
    system/rwlock_ut.cpp
    system/sanitizers_ut.cpp
    system/shellcommand_ut.cpp
    system/spinlock_ut.cpp
    system/src_root_ut.cpp
    system/src_location_ut.cpp
    system/shmat_ut.cpp
    system/tempfile_ut.cpp
    system/thread_ut.cpp
    system/tls_ut.cpp
    system/types_ut.cpp
    system/user_ut.cpp
    system/unaligned_mem_ut.cpp
    system/yassert_ut.cpp
)

IF (NOT USE_STL_SYSTEM)
    SRCS(
        system/type_name_ut.cpp
    )
ENDIF()

IF (OS_WINDOWS)
    SRCS(
        system/fs_win_ut.cpp
        system/mktemp_ut.cpp
    )
    DEPENDS(
        util/system/ut/stdin_osfhandle
    )
    IF (ARCH_X86_64)
        WINDOWS_LONG_PATH_MANIFEST()
    ENDIF()
ENDIF()

REQUIREMENTS(ram:12)

END()