summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-01-25 20:33:59 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-01-25 20:33:59 +0000
commiteb19a953222922c97b9edfc76aa3d604e1635616 (patch)
treedeef046950657843afc7a562647b7d76c9ecd003
parentd9c7ceebde97ff1b5ff37fbed333aca113b8abd6 (diff)
downloadbcm5719-llvm-eb19a953222922c97b9edfc76aa3d604e1635616.tar.gz
bcm5719-llvm-eb19a953222922c97b9edfc76aa3d604e1635616.zip
Remove hardcoded -arch from lang/cpp testcase makefiles
- skip rdar12991846 (already marked expected-fail) to avoid introducing a i386 crash llvm-svn: 173483
-rw-r--r--lldb/test/lang/cpp/rdar12991846/Makefile2
-rw-r--r--lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py3
-rw-r--r--lldb/test/lang/cpp/stl/Makefile2
3 files changed, 5 insertions, 2 deletions
diff --git a/lldb/test/lang/cpp/rdar12991846/Makefile b/lldb/test/lang/cpp/rdar12991846/Makefile
index 397bd743ea6..f447fee0197 100644
--- a/lldb/test/lang/cpp/rdar12991846/Makefile
+++ b/lldb/test/lang/cpp/rdar12991846/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS :=-arch x86_64 -gdwarf-2 -O0 -std=c++11
+CFLAGS := -gdwarf-2 -O0 -std=c++11
clean: OBJECTS+=$(wildcard main.d.*)
diff --git a/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py b/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py
index 2638adf038e..601c8e9e612 100644
--- a/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py
+++ b/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py
@@ -50,6 +50,9 @@ class Rdar12991846TestCase(TestBase):
def rdar12991846(self):
"""Test that the expression parser returns proper Unicode strings."""
+ if self.getArchitecture() in ['i386']:
+ self.skipTest("Skipping because this test is known to crash on i386")
+
exe = os.path.join(os.getcwd(), "a.out")
# Create a target by the debugger.
diff --git a/lldb/test/lang/cpp/stl/Makefile b/lldb/test/lang/cpp/stl/Makefile
index 9edefdf93a9..479b6d6b693 100644
--- a/lldb/test/lang/cpp/stl/Makefile
+++ b/lldb/test/lang/cpp/stl/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS :=-arch x86_64 -gdwarf-2 -O0
+CFLAGS := -gdwarf-2 -O0
clean: OBJECTS+=$(wildcard main.d.*)
OpenPOWER on IntegriCloud