This is an archive of the discontinued LLVM Phabricator instance.

[clang-offload-bundler] Fix compatibility testing for non-assert builds
ClosedPublic

Authored by saiislam on Sep 10 2021, 4:19 AM.

Details

Summary

Test using debug-only=CodeObjectComaptibility was failing in
non-assert builds, so it has been moved to a different file.

Diff Detail

Event Timeline

saiislam requested review of this revision.Sep 10 2021, 4:19 AM
saiislam created this revision.
Herald added a project: Restricted Project. · View Herald Transcript
kwk resigned from this revision.Sep 10 2021, 5:10 AM

Could you keep the test coverage by splitting off the debug tests into another file with a "REQUIRES: assert" lit tag?

saiislam updated this revision to Diff 371895.Sep 10 2021, 5:30 AM

Moved debug-only based tests to a separate file which requires "asserts".

RKSimon accepted this revision.Sep 10 2021, 6:09 AM

LGTM with one minor

clang/test/Driver/clang-offload-bundler-asserts-on.c
7

Add the stage description comments from the original file?

This revision is now accepted and ready to land.Sep 10 2021, 6:09 AM
saiislam edited the summary of this revision. (Show Details)Sep 10 2021, 6:26 AM
This revision was automatically updated to reflect the committed changes.
saiislam marked an inline comment as done.