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

Improve lit testing scripts. #94

Closed

Conversation

tsymalla
Copy link
Contributor

@tsymalla tsymalla commented May 23, 2024

  • Let check-llvm-dialects-lit depend on the llvm-dialects-test-depends custom target
  • Convert add_dialects_unit_test to a macro

- Let `check-llvm-dialects-lit` depend on the `llvm-dialects-test-depends` custom target
- Convert `add_dialects_unit_test` to a macro
@tsymalla tsymalla force-pushed the fix_test_target_dependency branch from f748363 to c11f6ba Compare May 23, 2024 11:49
Copy link
Member

@nhaehnle nhaehnle left a comment

Choose a reason for hiding this comment

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

Not sure I understand what all the changes are supposed to do, but it seems reasonable enough overall.

)
set_target_properties(check-llvm-dialects-lit PROPERTIES FOLDER "Tests")
Copy link
Member

Choose a reason for hiding this comment

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

Why did you remove this? AFAIK it is relevant for Visual Studio.

Copy link
Contributor

Choose a reason for hiding this comment

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

It is already set on llvm-dialects-test-depends (not sure if it works though, going to double-check)

@tsymalla tsymalla closed this Jun 12, 2024
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.

3 participants