blob: 37f3c938aa6e02521f77a47ddbff221a7d7e169e [file] [log] [blame]
# SingleSource/UnitTests/Makefile
LEVEL = ../..
include $(LEVEL)/Makefile.config
DIRS := SetjmpLongjmp
# FIXME: Disable SJLJ tests for now, until EH edges are represented.
DIRS :=
DIRS += Vector
DIRS += SignlessTypes Threads
# Only test Obj-C on Darwin.
ifeq ($(TARGET_OS),Darwin)
DIRS += ObjC ObjC++
endif
# Darwin doesn't support weak/weak_import in a way that we can test in this
# framework.
ifeq ($(TARGET_OS),Darwin)
PROGRAMS_TO_SKIP := 2007-04-25-weak
# The gcc on Darwin PPC doesn't support atomic ops, so we can't test them in this
# framework (even though they work OK in llvm).
ifeq ($(ARCH),PowerPC)
PROGRAMS_TO_SKIP += AtomicOps
endif
endif
PROGRAM_REQUIRED_TO_EXIT_OK := 1
LDFLAGS += -lstdc++
include $(LEVEL)/SingleSource/Makefile.singlesrc