This is an archive of the discontinued LLVM Phabricator instance.

[flang]Fix individual tests with lit when building out of tree
ClosedPublic

Authored by sameeranjoshi on Jun 18 2020, 1:04 PM.

Details

Summary

This commit is basically extending @CarolineConcatto work[D81002]

Fix individual check tests with lit when building out-of-tree
check-flang-<folder> was not working.
The CMakeLists.txt was looking for the lit tests in the source directory
instead of the build directory.

Both in-tree and out-of-tree works in my sandbox.

Diff Detail

Event Timeline

sameeranjoshi created this revision.Jun 18 2020, 1:04 PM
sameeranjoshi edited the summary of this revision. (Show Details)Jun 18 2020, 1:08 PM
sameeranjoshi added projects: Restricted Project, Restricted Project.
sameeranjoshi edited subscribers, added: CarolineConcatto, llvm-commits, flang-commits; removed: mgorny.
DavidTruby accepted this revision.Jun 19 2020, 9:08 AM

Looks good to me, seems a pretty simple fix so I think you can go ahead and commit it

This revision is now accepted and ready to land.Jun 19 2020, 9:08 AM
This revision was automatically updated to reflect the committed changes.