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

Fix bugs in unit tests #89

Merged
merged 2 commits into from
Sep 11, 2019
Merged

Conversation

pakmarkthub
Copy link
Collaborator

Problems:

  • namespace gdrcopy::test { ... } syntax is not supported in GCC 4.8.
  • ck_assert_int_eq cannot be used with pid_t on libcheck v0.9.8.

This PR:

  • changes the namespace definition to namespace gdrcopy { namespace test { ... } } for backward compatibility.
  • uses ck_assert with pid_t instead.

@drossetti drossetti merged commit 19f0906 into NVIDIA:master Sep 11, 2019
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