diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /util/tests | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/tests')
-rw-r--r-- | util/tests/benchmark/ya.make | 2 | ||||
-rw-r--r-- | util/tests/fuzzing/ya.make | 2 | ||||
-rw-r--r-- | util/tests/style/ya.make | 14 | ||||
-rw-r--r-- | util/tests/sym_versions/test_glibc.py | 56 | ||||
-rw-r--r-- | util/tests/sym_versions/ya.make | 36 | ||||
-rw-r--r-- | util/tests/ut/ya.make | 4 | ||||
-rw-r--r-- | util/tests/ya.make | 18 |
7 files changed, 66 insertions, 66 deletions
diff --git a/util/tests/benchmark/ya.make b/util/tests/benchmark/ya.make index 134cbfabd1..e0de04b7bf 100644 --- a/util/tests/benchmark/ya.make +++ b/util/tests/benchmark/ya.make @@ -5,7 +5,7 @@ RECURSE_ROOT_RELATIVE( util/charset/benchmark util/generic/benchmark util/random/benchmark - util/memory/benchmark + util/memory/benchmark util/string/benchmark util/system/benchmark ) diff --git a/util/tests/fuzzing/ya.make b/util/tests/fuzzing/ya.make index d9a8f9df9f..cc8deddf09 100644 --- a/util/tests/fuzzing/ya.make +++ b/util/tests/fuzzing/ya.make @@ -3,5 +3,5 @@ SUBSCRIBER(g:util-subscribers) RECURSE_ROOT_RELATIVE( util/string/fuzzing - util/generic/fuzz + util/generic/fuzz ) diff --git a/util/tests/style/ya.make b/util/tests/style/ya.make index 3014797060..58fac1be33 100644 --- a/util/tests/style/ya.make +++ b/util/tests/style/ya.make @@ -1,7 +1,7 @@ -CPP_STYLE_TEST() - -OWNER(pg) - -STYLE(util/**/*.cpp util/**/*.h util/**/*.c) - -END() +CPP_STYLE_TEST() + +OWNER(pg) + +STYLE(util/**/*.cpp util/**/*.h util/**/*.c) + +END() diff --git a/util/tests/sym_versions/test_glibc.py b/util/tests/sym_versions/test_glibc.py index c76359c54c..16ba81a4bd 100644 --- a/util/tests/sym_versions/test_glibc.py +++ b/util/tests/sym_versions/test_glibc.py @@ -1,29 +1,29 @@ -import os -import functools - -import yatest.common as yc -import library.python.resource as lpr - - -def construct_path(p): - parts = p.split('/') - - return p + '/' + '-'.join(parts[-3:]) - - -def iter_binaries(): - ok = False - - for l in lpr.find('/test_binaries').split('\n'): - if '# start' in l: - ok = True - else: - if '# end' in l: - ok = False - - if ok: - yield construct_path(l.strip()) - - -for p in iter_binaries(): +import os +import functools + +import yatest.common as yc +import library.python.resource as lpr + + +def construct_path(p): + parts = p.split('/') + + return p + '/' + '-'.join(parts[-3:]) + + +def iter_binaries(): + ok = False + + for l in lpr.find('/test_binaries').split('\n'): + if '# start' in l: + ok = True + else: + if '# end' in l: + ok = False + + if ok: + yield construct_path(l.strip()) + + +for p in iter_binaries(): globals()['test_' + os.path.basename(p).replace('-', '_')] = functools.partial(yc.process.check_glibc_version, p) diff --git a/util/tests/sym_versions/ya.make b/util/tests/sym_versions/ya.make index 3957c60fc9..591b190c72 100644 --- a/util/tests/sym_versions/ya.make +++ b/util/tests/sym_versions/ya.make @@ -1,22 +1,22 @@ PY2TEST() - + OWNER( pg g:util -) +) SUBSCRIBER(g:util-subscribers) - + TEST_SRCS(test_glibc.py) -PEERDIR( - library/python/resource -) - -RESOURCE( - ya.make /test_binaries -) - -DEPENDS( +PEERDIR( + library/python/resource +) + +RESOURCE( + ya.make /test_binaries +) + +DEPENDS( # start binaries util/generic/ut util/charset/ut @@ -33,10 +33,10 @@ DEPENDS( util/thread/ut # end binaries contrib/python/pyelftools/readelf -) - -FORK_SUBTESTS() - -SPLIT_FACTOR(10) +) + +FORK_SUBTESTS() -END() +SPLIT_FACTOR(10) + +END() diff --git a/util/tests/ut/ya.make b/util/tests/ut/ya.make index 94278cbde1..a9d1d6d508 100644 --- a/util/tests/ut/ya.make +++ b/util/tests/ut/ya.make @@ -1,5 +1,5 @@ -UNITTEST_FOR(util) - +UNITTEST_FOR(util) + OWNER(g:util) SUBSCRIBER(g:util-subscribers) diff --git a/util/tests/ya.make b/util/tests/ya.make index e1e85c2931..ecc994c4f2 100644 --- a/util/tests/ya.make +++ b/util/tests/ya.make @@ -1,13 +1,13 @@ -RECURSE( - benchmark +RECURSE( + benchmark cython - fuzzing - ut - style -) - -IF (OS_LINUX) + fuzzing + ut + style +) + +IF (OS_LINUX) RECURSE( sym_versions ) -ENDIF() +ENDIF() |