Run layout-transitivity test only when debugging is enabled.
authorRui Ueyama <ruiu@google.com>
Wed, 23 Oct 2013 21:15:48 +0000 (21:15 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 23 Oct 2013 21:15:48 +0000 (21:15 +0000)
Because it depends on "-mllvm -debug" flag, the test fails in Release build.

llvm-svn: 193271

lld/test/core/layout-transitivity.objtxt

index 605924e..2daf6ef 100644 (file)
@@ -1,10 +1,6 @@
+# REQUIRES: debug
 # RUN: lld -core --add-pass layout -mllvm -debug %s 2> /dev/null | FileCheck %s
 
-# For some reason this test is failing on Darwin and FreeBSD probably because
-# of assertion error, while this test seems to be platform-neutral. Disable
-# for now.
-# XFAIL: darwin, freebsd
-
 ---
 defined-atoms:
   - name:            fn3