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

tests: Improve 'rmw -s' #490

Merged
merged 4 commits into from
Nov 16, 2024
Merged

tests: Improve 'rmw -s' #490

merged 4 commits into from
Nov 16, 2024

Conversation

andy5995
Copy link
Member

No description provided.

@andy5995 andy5995 added this to the v0.9.4 milestone Nov 15, 2024
@ccoVeille
Copy link
Collaborator

So it's related to #464?

@andy5995
Copy link
Member Author

Yes. Although it's fixed, this change should make the test more robust. In the CI, I have a test that adds the _FORTIFY definition

@@ -123,10 +123,16 @@ if [ -n "$(command -v Xvfb)" ]; then
# Error opening terminal: unknown.
export TERM=xterm

for file in "foo(1)far" "far side" "clippity-clap"; do
${RMW_TEST_CMD_STRING} "$file"
Copy link
Member Author

Choose a reason for hiding this comment

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

This should error. I forgot to create the files.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll need to reconsider what rmw does when it's given a file that doesn't exist. Right now it only warns the user and continues, and then exits with 0 if there are no other unrelated errors.

@andy5995 andy5995 merged commit 487357a into master Nov 16, 2024
17 checks passed
@andy5995 andy5995 deleted the tests/improve-rmw-s branch November 16, 2024 20:40
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