• Home
  • Raw
  • Download

Lines Matching +full:gcc +full:- +full:valgrind

1 #===- test/Makefile ----------------------------------------*- Makefile -*--===#
8 #===------------------------------------------------------------------------===#
13 all:: check-local
16 check-local:: check-local-lit
21 #===------------------------------------------------------------------------===#
23 #===------------------------------------------------------------------------===#
31 LIT_ARGS := -v
33 LIT_ARGS := -s -v
36 # -jN causes crash on Cygwin's python.
38 LIT_ARGS += -j1
45 RUNTESTFLAGS += --tool $(CLEANED_TESTSUITE)
51 VALGRIND := valgrind --tool=memcheck --quiet --trace-children=yes --error-exitcode=3 --leak-check=f… macro
54 # Check what to run for -all.
57 extra-lit-site-cfgs::
58 .PHONY: extra-lit-site-cfgs
60 ifneq ($(strip $(filter check-local-all,$(MAKECMDGOALS))),)
62 ifeq ($(shell test -d $(PROJ_SRC_DIR)/../tools/clang && echo OK), OK)
66 clang-lit-site-cfg: FORCE
67 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/test lit.site.cfg Unit/lit.site.cfg
68 extra-lit-site-cfgs:: clang-lit-site-cfg
80 RUNTESTFLAGS += --ignore "$(strip $(IGNORE_TESTS))"
85 # Both AuroraUX & Solaris do not have the -m flag for ulimit
87 ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -v 512000 ;
90 ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -v 512000 ;
92 # Fedora 13 x86-64 python fails with -v 76800
93 ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ;
98 check-local-dg:: site.exp
103 check-local-dg:: site.exp
107 check-local-lit:: lit.site.cfg Unit/lit.site.cfg
111 check-local-all:: lit.site.cfg Unit/lit.site.cfg extra-lit-site-cfgs
116 $(RM) -rf `find $(LLVM_OBJ_ROOT)/test -name Output -type d -print`
125 BUGPOINT_TOPTS="-gcc-tool-args $(TargetCommonOpts)"
131 CC_FOR_OCAMLOPT := $(shell $(OCAMLOPT) -config | grep native_c_compiler | sed -e 's/native_c_compil…
132 CXX_FOR_OCAMLOPT := $(subst gcc,g++,$(CC_FOR_OCAMLOPT))
154 …@echo 'set compile_c "' $(CC) $(CPP.Flags) $(TargetCommonOpts) $(CompileCommonOpts) -c '"' >>site.…
155 …$(CXX) $(CPP.Flags) $(CXX.Flags) $(TargetCommonOpts) $(CompileCommonOpts) -c -x c++ '"' >> site.tmp
161 @echo 'set ocamlopt "$(OCAMLOPT) -cc \"$(CXX_FOR_OCAMLOPT)\" -I $(LibDir)/ocaml"' >> site.tmp
162 @echo 'set valgrind "$(VALGRIND)"' >> site.tmp
168 @test ! -f site.exp || \
170 @-rm -f site.bak
171 @test ! -f site.exp || mv site.exp site.bak
189 @sed -f lit.tmp $(PROJ_SRC_DIR)/lit.site.cfg.in > $@
190 @-rm -f lit.tmp
202 @sed -f unit.tmp $(PROJ_SRC_DIR)/Unit/lit.site.cfg.in > $@
203 @-rm -f unit.tmp