-
Notifications
You must be signed in to change notification settings - Fork 170
[Proposal] Introducing new flags to run tests #542
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
Comments
A simple example is,
A concrete example,
Now @certik What do you think? |
We could do that, or we could implement an equivalent of what we do in LFortran: https://gitlab.com/lfortran/lfortran/-/blob/391ff8562350a9942bb02adb83a191219c42704f/integration_tests/CMakeLists.txt#L85 where we mark each test what backends it is supposed to compile with. As not all tests work with all backends, and at the same time, you want to ensure that those tests that work with say LLVM and C backends continue working. |
I have the following suggestion to create a single
What are your views on this? @certik @czgdp1807 |
I would like to move the test infrastructure to libasr, and share it with LFortran as much as possible. See also this MR that we need to finish that makes it run in parallel: https://gitlab.com/lfortran/lfortran/-/merge_requests/1749. For I would not couple integration tests with tests. But to be able to run a subset of tests, I think we can do that. Any change must be very carefully tested, to ensure the test runner will fail when it has to fail. |
I think we can close this because gh-565 has been merged. |
This can be closed now. |
I and @czgdp1807 had a discussion on adding some new features for running the tests like running all the tests with
--show-c
or any other such flags. We can also add a few more features to efficiently run a variety of tests. @czgdp1807 Can you please provide some demo CLIs that you would like to have?The text was updated successfully, but these errors were encountered: