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

test: only test dashboard_v2 when it is enabled #20777

Merged
merged 1 commit into from Mar 12, 2018

Conversation

wjwithagen
Copy link
Contributor

Signed-off-by: Willem Jan Withagen wjw@digiware.nl

endif(WITH_MGR_DASHBOARD_V2_FRONTEND AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
if(WITH_MGR_DASHBOARD_V2_FRONTEND)
add_ceph_test(mgr-dashboard_v2-frontend-unittests ${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard_v2/run-frontend-unittests.sh)
endif(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems like it's probably not intended: endif with a different statement than the if? Unless it's cmake trickery that I'm not familiar with.

Didn't you mean to just move the original endif to after the last add_ceph_test line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jcsp Cut&paste error, will fix

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
@wjwithagen
Copy link
Contributor Author

@jcsp
Can you take another look? Thanx

@wjwithagen
Copy link
Contributor Author

@jcsp
Can you also commit?

@jcsp jcsp merged commit 841e497 into ceph:master Mar 12, 2018
@wjwithagen wjwithagen deleted the wjw-mgr_dashboard_test branch January 23, 2019 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants