Skip to content

Commit

Permalink
Exclude internal-only tests from GitHub
Browse files Browse the repository at this point in the history
These tests depend on files which are only avaialable to Yandex staff.
As it is, these tests are worthless in GitHub.
commit_hash:166944ad9c46df00c6b06c7710344f2b25135cb6
  • Loading branch information
MikailBag committed Feb 13, 2025
1 parent 4e7f5d8 commit 6b587e5
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 330 deletions.
30 changes: 0 additions & 30 deletions perforator/pkg/linux/procfs/parse_mappings_test.go

This file was deleted.

13 changes: 8 additions & 5 deletions perforator/pkg/linux/procfs/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ GO_LIBRARY()

TAG(ya:run_go_benchmark)

DATA(
sbr://6741361681=maps
)
IF (NOT OPENSOURCE)
DATA(
sbr://6741361681=maps
)
ENDIF()

SRCS(
fs.go
Expand All @@ -19,8 +21,9 @@ GO_TEST_SRCS(
meminfo_test.go
process_test.go
)

GO_XTEST_SRCS(parse_mappings_test.go)
IF (NOT OPENSOURCE)
GO_XTEST_SRCS(parse_mappings_test.go)
ENDIF()

GO_TEST_EMBED_PATTERN(gotest/status1.txt)

Expand Down
151 changes: 0 additions & 151 deletions perforator/pkg/profile/flamegraph/render/blocks_test.go

This file was deleted.

99 changes: 0 additions & 99 deletions perforator/pkg/profile/flamegraph/render/render_json_test.go

This file was deleted.

34 changes: 0 additions & 34 deletions perforator/pkg/profile/flamegraph/render/render_test.go

This file was deleted.

23 changes: 12 additions & 11 deletions perforator/pkg/profile/flamegraph/render/ya.make
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
GO_LIBRARY()

TAG(ya:run_go_benchmark)

DATA(
sbr://3766900569=stacks
)
IF (NOT OPENSOURCE)
DATA(
sbr://3766900569=stacks
)
ENDIF()

SRCS(
blocks.go
hsv.go
render.go
strtab.go
)

GO_TEST_SRCS(
blocks_test.go
render_json_test.go
)

GO_XTEST_SRCS(render_test.go)
IF (NOT OPENSOURCE)
GO_TEST_SRCS(
blocks_test.go
render_json_test.go
)
GO_XTEST_SRCS(render_test.go)
ENDIF()

GO_EMBED_PATTERN(tmpl.html)

Expand Down

0 comments on commit 6b587e5

Please sign in to comment.