Skip to content

gcd/lcm test from internal repo with questionable bits extracted - #2507

Merged
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:mainfrom
CaseyCarter:gcdlcm
Feb 1, 2022
Merged

gcd/lcm test from internal repo with questionable bits extracted#2507
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:mainfrom
CaseyCarter:gcdlcm

Conversation

@CaseyCarter

Copy link
Copy Markdown
Contributor

Partially addresses VSO-936680

@CaseyCarter Casey Carter (CaseyCarter) added the test Related to test code label Jan 27, 2022
@CaseyCarter
Casey Carter (CaseyCarter) requested a review from a team as a code owner January 27, 2022 20:37
@CaseyCarter
Casey Carter (CaseyCarter) marked this pull request as draft January 27, 2022 20:48
Comment thread tests/std/tests/P0295R0_gcd_lcm/test.cpp
@StephanTLavavej

Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we prefer the test.compile.pass.cpp format over just test.cpp now?

@CaseyCarter

Copy link
Copy Markdown
Contributor Author

do we prefer the test.compile.pass.cpp format over just test.cpp now?

Yes we do. The GitHub test runner recognizes the suffix .compile.pass.cpp and it won't attempt to link and run such test cases.

@StephanTLavavej

Copy link
Copy Markdown
Member

One note about test.compile.pass.cpp - such tests must still be prepared to be linked and ran with no effect, since the internal test harness doesn't know to skip those steps. (It could presumably be enlightened, but teaching that ancient Perl machinery anything is quite difficult.)

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit c6df0b0 into microsoft:main Feb 1, 2022
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for being the Greatest Casey Denominator! 😹 🔼 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants