Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Polly][test] Test difference between isl::stat:ok() and isl::stat::e…
…rror(). The foreach callback wrappers tests check the return values of isl::stat:ok() and isl::stat::error() separately. However, due to the the container they are iterating over containing just one element, they are actually not testing the difference between them. This patch changes to set to be iterated over to contain 2 element to make returning sl::stat:ok (continue iterating the next element) and isl::stat::error (break after current element) have different effects other than the return value of the foreach itself. Reviewed By: patacca Differential Revision: https://reviews.llvm.org/D107395
- Loading branch information
1 parent
7ca2b9a
commit 50eaa82
Showing
1 changed file
with
18 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters