Go to file
Pavel Labath ffbf9e86b2 Make test categories composable
Summary:
Previously the add_test_categories would simply overwrite the current set of categories for a
method. This change makes the decorator truly "add" categories, by extending the current set of
categories instead of replacing it.

To do this, I have:
- replaced the getCategories() property on a method (which was itself a method), with a simple
  list property "categories". This makes add_test_categories easier to implement, and test
  categories isn't something which should change between calls anyway.
- rewritten the getCategoriesForTest function to merge method categories with the categories of
  the test case. Previously, it would just use the method categories if they were present. I have
  also greatly simplified this method. Originally, it would use a lot of introspection to enable
  it being called on various types of objects. Based on my tests, it was only ever being called
  on a test case. The new function uses much less introspection then the preivous one, so we
  should easily catch any stray uses, if there are any, as they will generate exceptions now.

Reviewers: zturner, tfiala, tberghammer

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D15451

llvm-svn: 255493
2015-12-14 13:17:18 +00:00
clang [OPENMP] Fix debug info for 'atomic' construct. 2015-12-14 09:26:19 +00:00
clang-tools-extra clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index*.cpp: Don't assume size_t were unsigned int. 2015-12-13 22:49:37 +00:00
compiler-rt [compiler-rt] [safestack] Silent overflow.c test on aarch64 2015-12-14 11:58:43 +00:00
debuginfo-tests
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Replace cmake check for printf with a check for fopen. 2015-12-10 00:45:18 +00:00
libcxxabi Replace cmake check for printf with a check for fopen. 2015-12-10 00:44:42 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld [ELF][MIPS] Ignore R_MIPS_JALR relocation for now 2015-12-13 06:49:14 +00:00
lldb Make test categories composable 2015-12-14 13:17:18 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm Don't create unnecessary PHIs 2015-12-14 10:57:01 +00:00
openmp Hinted lock (OpenMP 4.5 feature) Updates/Fixes Part 3 2015-12-11 22:04:05 +00:00
polly Rename addScalar(Read|Write)Access to addValue(Read|Write)Access 2015-12-13 22:47:43 +00:00