-
Notifications
You must be signed in to change notification settings - Fork 117
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 Ctest support for functional testing #10064
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the tag unit to mz_add_test_target
aswell ? :)
Uh oh, looks like the socksproxy tests don't pass on MacOS. Guess I should fix that first. |
Well we're not shipping that binary on macos, so i think you could just not compile+run the tests on macos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻 Thanks!
This seems reasonable, though this area is not my expertise. I'd encourage waiting for at least one other approval.
Description
This is mostly just a minor annoyance that every time I have to run a functional test I have to remember and run a bunch of commands manually to get the functional testing envrionment setup. This makes it so that we can run a tests with something like the following:
ctest -L functional
: Run all the functional testsctest -L unit
: Run all the unit tests.ctest -L auth
: Run the authentication tests.ctest -L qml
: Run the QML tests.ctest -R <test name>
: Run a single test.Reference
Checklist