[PATCH] D51048: cmake: Specify reference outputs in llvm_test_data()

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 11:45:53 PDT 2018


MatzeB added a comment.

In https://reviews.llvm.org/D51048#1223622, @tra wrote:

> In https://reviews.llvm.org/D51048#1221432, @MatzeB wrote:
>
> > Though thinking about it, I don't really understand your problem:
> >
> > How can there be multiple outputs with the same name? They have different names in the repository (algorithm.reference_output, assert.reference_output, ...)
>
>
> For CUDA tests, from each test source file we generate a lot of test executables compiled for combination of {CUDA version, C++ standard, C++ standard library}. All of those test executables will run and need to have their output compared to the same reference file.


Ok but that would just mean that the name of the reference file doesn't necessarily match the name of the executable. That should be easily doable and hopefolly something similar to what I proposed in the comment is enough to fix the issues...


Repository:
  rT test-suite

https://reviews.llvm.org/D51048





More information about the llvm-commits mailing list