This is an archive of the discontinued LLVM Phabricator instance.

Add CTMark directory to test-suite
ClosedPublic

Authored by MatzeB on Dec 6 2016, 4:14 PM.

Details

Summary

This is a proposal to make CTMark an explicit entity in the test-suite. Some notes:

  • You can use this with cmake -DTEST_SUITE_SUBDIRS=CTMark
  • It cannot be used in combination with SingleSource or MultiSource benchmarks (duplicate targets)
  • The usage of symlinks makes the benchmarks comprising CTMark obvious while reusing the existing CMakeLists.txt of these benchmarks.
  • Symlink usage may be problematic on windows (but does the test-suite work properly on windows anyway?)
  • The way this is setup will miss intermediate CMakeLists.txt (i.e. if someone adds CPPFLAGS in say MultiSource/Benchmarks/CMakeLists.txt we will miss that because we include MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt directly)

I believe none of the problems are big enough to not do this. But would be nice to hear some opinions.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 80499.Dec 6 2016, 4:14 PM
MatzeB retitled this revision from to Add CTMark directory to test-suite.
MatzeB updated this object.
MatzeB added a reviewer: cmatthews.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: llvm-commits.
cmatthews accepted this revision.Dec 9 2016, 12:00 PM
cmatthews edited edge metadata.

I think we need this badly! We will be able to move towards removing all the silly conditionals towards nice well defined "suites" of tests.

This revision is now accepted and ready to land.Dec 9 2016, 12:00 PM
Closed by commit rL289269: Add a CTMark directory (authored by matze). · Explain WhyDec 9 2016, 12:58 PM
This revision was automatically updated to reflect the committed changes.