Skip to content

Move skip lists for tests to skip_list.json file#12107

Merged
alesapin merged 5 commits intomasterfrom
add_unbundled_mode_flag
Jul 4, 2020
Merged

Move skip lists for tests to skip_list.json file#12107
alesapin merged 5 commits intomasterfrom
add_unbundled_mode_flag

Conversation

@alesapin
Copy link
Member

@alesapin alesapin commented Jul 3, 2020

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add UNBUNDLED flag to system.build_options table. Move skip lists for clickhouse-test to clickhouse repo.

@blinkov blinkov added the pr-build Pull request with build/testing/packaging improvement label Jul 3, 2020
@alesapin
Copy link
Member Author

alesapin commented Jul 3, 2020

No builds :(

@alesapin alesapin changed the title Add unbundled mode flag to system.build_options. Move skip lists for tests to skip_list.json file Jul 3, 2020
UNDEFINED = 'ub-sanitizer'
MEMORY = 'memory-sanitizer'
DEBUG = 'debug-build'
UNBUNDLED = 'unbundled-build'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, maybe it's also possible to add ARCADIA.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise we will have separate skip list in different format for ARCADIA.
(we can do it in another PR)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's do it in another PR.

@alexey-milovidov alexey-milovidov self-assigned this Jul 3, 2020
@@ -0,0 +1,130 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's is a pity that JSON does not support comments.
(but it's Ok, I cannot propose something better).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe Python can parse JSON extension with comments?

Copy link
Member Author

@alesapin alesapin Jul 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No vanilla python json module doesn't support comments in JSON :( Also it's possible to move this list into clickhouse-test script or separate .py file and receive config with eval or exec.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the recommended way to support comments in JSON with Python is JSMin:
https://pypi.org/project/jsmin/

@alesapin alesapin merged commit bfa8cdc into master Jul 4, 2020
@alesapin alesapin deleted the add_unbundled_mode_flag branch July 4, 2020 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-build Pull request with build/testing/packaging improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants