Page MenuHomePhabricator

[OpenMP] Add "not" to test dependencies.

Authored by Meinersbur on Dec 9 2021, 9:59 AM.



The not program is used to test executions prefixed with %libomptarget-run-fail-. Currently not is not used for libomp tests, but might be used in the future and its dependency does not add any additional burden over the already established FileCheck dependency.

Required to add libomptarget testing to the Phabricator pre-merge check (see

Diff Detail

Event Timeline

Meinersbur created this revision.Dec 9 2021, 9:59 AM
Meinersbur requested review of this revision.Dec 9 2021, 9:59 AM
This revision is now accepted and ready to land.Dec 9 2021, 11:07 AM
jdenny accepted this revision.Dec 9 2021, 11:11 AM

Other than the question I added inline, LGTM.


Do you know why not and FileCheck are handled differently here? It might be that D95689 simply overlooked not. @tianshilei1992?

I'm not sure if this discrepancy is relevant to the problem you're trying to fix, so maybe it should be addressed separately.

Meinersbur added inline comments.Dec 12 2021, 8:32 AM

@tianshilei1992 might be the best to answer this question. However, by the motivation D95689, it seems that LLVM_INSTALL_TOOLCHAIN_ONLY applies to not and FileCheck at the same time. hence checking the existence of one implies the existence of the other.

This revision was automatically updated to reflect the committed changes.