diff options
| author | Anton Samokhvalov <[email protected]> | 2022-02-10 16:45:17 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:17 +0300 |
| commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
| tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /util/tests | |
| parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
Restoring authorship annotation for Anton Samokhvalov <[email protected]>. Commit 2 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 e0de04b7bfe..134cbfabd15 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 cc8deddf095..d9a8f9df9f7 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 58fac1be332..3014797060b 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 16ba81a4bde..c76359c54ce 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 591b190c72c..3957c60fc94 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() +) + +FORK_SUBTESTS() + +SPLIT_FACTOR(10) -SPLIT_FACTOR(10) - -END() +END() diff --git a/util/tests/ut/ya.make b/util/tests/ut/ya.make index a9d1d6d5089..94278cbde1d 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 ecc994c4f2c..e1e85c29316 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() |
