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

Language test refinements #649

Merged
merged 3 commits into from
May 4, 2021
Merged

Language test refinements #649

merged 3 commits into from
May 4, 2021

Conversation

waynelwarren
Copy link
Contributor

These updates accompany Gregory's PR #639. In addition to new tests, it should test cleanly in the TranslationEngineLLVM/clang/test/Parser directory.

Some tests are marked as (fixed) and are left for regression.

Converted the test files to a convention where tests that currently fail can be commented out so that the build will not fail because of a failed test. This should allow retesting when features have been added and bugs have been fixed.

@@ -31,7 +31,7 @@ class test_mixed_code : public db_catalog_test_base_t
{
public:
test_mixed_code()
: db_catalog_test_base_t("barn_storage.ddl"){};
: db_catalog_test_base_t("incubator.ddl"){};
Copy link
Contributor

Choose a reason for hiding this comment

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

I had fixed this test too - is this branch not up to date with master?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe not, but I'm the only one working on most of these files. I'll clean it up in the merge.

int unsigned i = 0;
if (i == 0)
{
/F:farmer.acreage += 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

What does /F: do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It defines a tag named "F" for subsequent use in this statement (but it isn't used). Since this test is for tag scoping, the subsequent use wasn't necessary for the test.

@waynelwarren waynelwarren merged commit ef2ee0c into master May 4, 2021
@waynelwarren waynelwarren deleted the wayne/test-refinements branch May 4, 2021 16:05
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.

2 participants