[PATCH] [Tsan] Make the user_fopen.cc and user_malloc.cc tests Linux-specific

Alexey Samsonov vonosmas at gmail.com
Wed Oct 8 13:58:00 PDT 2014


================
Comment at: test/tsan/Linux/lit.local.cfg:10
@@ +9,3 @@
+# all of its tests.
+if root.host_os in ['Linux']:
+  config.unsupported = False
----------------
Why override the parent directory's decision? We can mark tests as unsupported there for various reasons. IMO you should just use
  if root.host_os not in ['Linux']:
    config.unsupported = True

http://reviews.llvm.org/D5670






More information about the llvm-commits mailing list