-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add run-test.sh
script in the tools
folder for automating library testing and building
#2136
Comments
Thanks for posting! It might take a while before we look at your issue, so don't worry if there seems to be no feedback. We'll get to it. |
tools
folder for automating library testing and buildingrun-test.sh
script in the tools
folder for automating library testing and building
When you say "automating library testing and building", are you talking about something other than the CI? In case you haven't seen them yet, the commands to automatically build and test the library in the CI are already in the |
Yes, I saw the commands under the
you just run a single script from the root folder
It's just to ease the developer job and encapsulate the logic in a shell script. |
Ciao Paolo, please go ahead if you want to open a PR. It might be useful as an easier way to select a specific test suite. (This said, you don't need the two
works without having to change folder) |
Motivation
After building and testing new features implemented using CMake as a meta-build system, I noticed that the commands for building and testing the library could be streamlined into scripts. To simplify and automate this process, I propose adding a new script, run-test.sh, under the tools folder. This script would facilitate testing new features and improve the workflow for contributors.
Proposal
To achieve the goal of automated testing and building, I propose adding the following scripts:
build-with-cmake.sh
run-test.sh
build-with-cmake.sh
script to ensure the project is built before testing.Optional Extensions
Cross-platform Support
run-test.ps1
andbuild-with-cmake.ps1
run-test.bat
andbuild-with-cmake.bat
Documentation Updates
Implementation Offer
I am happy to implement these scripts and submit a pull request if this idea is considered useful for the project. I believe these scripts will enhance developer productivity and help maintain a more robust testing workflow.
Let me know your thoughts, and I’d be happy to proceed with this!
The text was updated successfully, but these errors were encountered: