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

Mark blacklisted tests as skipped #90

Merged
merged 7 commits into from
Nov 30, 2016
Merged

Mark blacklisted tests as skipped #90

merged 7 commits into from
Nov 30, 2016

Conversation

mikaelarguedas
Copy link
Member

@mikaelarguedas mikaelarguedas commented Nov 24, 2016

No description provided.

@mikaelarguedas mikaelarguedas added the in progress Actively being worked on (Kanban column) label Nov 24, 2016
@mikaelarguedas mikaelarguedas self-assigned this Nov 24, 2016
LIBRARIES ${PROJECT_NAME}${target_suffix} ${extra_test_libraries}
AMENT_DEPENDENCIES ${rmw_implementation} "example_interfaces" "std_msgs"
SKIP_TEST
)
Copy link
Member

Choose a reason for hiding this comment

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

Instead of duplicating the function call with all its arguments I would suggest to use a variable to either pass or not pass SKIP_TEST.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in 5939067

if(_ARG_SKIP_TEST)
set(_ARG_SKIP_TEST "SKIP_TEST")
else()
set(_ARG_SKIP_TEST "")
Copy link
Member

@dirk-thomas dirk-thomas Nov 29, 2016

Choose a reason for hiding this comment

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

I don't think this is necessary? The variable should be unset / empty.

Copy link
Member Author

Choose a reason for hiding this comment

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

for some reason before adding this, "FALSE" was passed to the script instead of an empty string, resulting in the following error: run_test.py: error: --env argument 'FALSE' contains no equal sign
haven't found why FALSE is passed yet

Copy link
Member

Choose a reason for hiding this comment

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

Hm, I see. Looks like cmake_parse_arguments is actually setting it to either TRUE or FALSE. I thought that was different some (probably long) time ago. Sounds good as it is then. Sorry for the noise.

@mikaelarguedas mikaelarguedas merged commit 723e561 into master Nov 30, 2016
@mikaelarguedas mikaelarguedas deleted the skipped_tests branch November 30, 2016 18:20
@mikaelarguedas mikaelarguedas removed the in progress Actively being worked on (Kanban column) label Nov 30, 2016
ivanpauno pushed a commit that referenced this pull request Jan 2, 2020
* expose list of nodes

* review comments

* extend year of copyright
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