Skip to content

Fix nvc++ test build error - #149

Merged
crtrott merged 1 commit into
stablefrom
Fix-nvcpp-build-test_contiguous_layouts
Jun 29, 2022
Merged

crtrott merged 1 commit into
stablefrom
Fix-nvcpp-build-test_contiguous_layouts

Conversation

@mhoemmen

Copy link
Copy Markdown
Contributor

Building tests/tests_contiguous_layouts.cpp fails with nvc++ 22.5-0. This commit fixes that.

Fixes #148.

Building tests/tests_contiguous_layouts.cpp fails with nvc++ 22.5-0.
This commit fixes that.

Fixes #148.
@mhoemmen
mhoemmen requested review from crtrott, dalg24 and nliber June 28, 2022 23:26
// because this results in duplicate test names.
// However, creating an alias for each suite works around this.

TYPED_TEST_SUITE(TestLayoutConversion, layout_conversion_test_types_left_to_left);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why not use an alias for this too, so that the testnames show up systematically?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Mark said nvc++ fails if he uses an alias here too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Right -- not sure why. I'll experiment a bit once PR #147 lands. Thanks!

Comment thread tests/test_contiguous_layouts.cpp
@crtrott
crtrott merged commit cc9aaea into stable Jun 29, 2022
@crtrott
crtrott deleted the Fix-nvcpp-build-test_contiguous_layouts branch June 29, 2022 15:58
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.

nvc++ build error test_contiguous_layouts.cpp

3 participants