Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: auto discover test cases from path #376

Merged
merged 6 commits into from
Jan 30, 2022
Merged

test: auto discover test cases from path #376

merged 6 commits into from
Jan 30, 2022

Conversation

wangrunji0408
Copy link
Member

This PR enables the rest of basic_test.slt and a part of select.slt (#350) tests.

This also resolves #338: automatically discover test cases from path, by generating source file in build.rs.
Note that there is a test statistics.slt that fails on in-memory storage, it has been added to the blocklist in build.rs.

Signed-off-by: Runji Wang <wangrunji0408@163.com>
Signed-off-by: Runji Wang <wangrunji0408@163.com>
Copy link
Member

@skyzh skyzh left a comment

Choose a reason for hiding this comment

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

LGTM, good work!

  • Should also update and test docs/tpch.md. In that, we used create.slt. As .slt now has different suffix, the rising light binary will regard it as SQL. Need some changes.
  • Should update contributing.md so that new developers know that .slt will be automatically picked up.

Signed-off-by: Runji Wang <wangrunji0408@163.com>
Signed-off-by: Runji Wang <wangrunji0408@163.com>
Signed-off-by: Runji Wang <wangrunji0408@163.com>
@wangrunji0408
Copy link
Member Author

I have changed the ignore pattern from *.slt.0 to _*.slt.
Please take a look @skyzh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants