Commit 2602cdad authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1504 Make windbg not be the default for windows tests

git-svn-id: file:///svn/toku/tokudb@9679 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2a7eca3e
...@@ -166,6 +166,10 @@ HGRIND=valgrind --quiet --tool=helgrind --error-exitcode=1 ...@@ -166,6 +166,10 @@ HGRIND=valgrind --quiet --tool=helgrind --error-exitcode=1
# When debugging, try: valgrind --show-reachable=yes --leak-check=full ./brt-test # When debugging, try: valgrind --show-reachable=yes --leak-check=full ./brt-test
# When debugging, try: valgrind --show-reachable=yes --leak-check=full ./brt-test # When debugging, try: valgrind --show-reachable=yes --leak-check=full ./brt-test
ifeq ($(WINDBG),)
WINDBG=0
endif
ifeq ($(CC),icc) ifeq ($(CC),icc)
#icc only: #icc only:
OPT_OPTFLAGS = -O3 -ip -ipo1 OPT_OPTFLAGS = -O3 -ip -ipo1
...@@ -197,7 +201,11 @@ ifneq ($(CYGWIN),) ...@@ -197,7 +201,11 @@ ifneq ($(CYGWIN),)
WRONGBINSUF=#empty WRONGBINSUF=#empty
ALWAYS_LINK=$(LIBPORTABILITY) /usr/lib/libz.a ALWAYS_LINK=$(LIBPORTABILITY) /usr/lib/libz.a
SRCPATH_DIRS = `find $(TOKUROOT) -type d | grep -v '/\.[^.]' | grep -F -v "$(TOKUROOT)$(OS_NOTCHOICE)" | tr '\n' ';'` SRCPATH_DIRS = `find $(TOKUROOT) -type d | grep -v '/\.[^.]' | grep -F -v "$(TOKUROOT)$(OS_NOTCHOICE)" | tr '\n' ';'`
VGRIND = windbg -Q -c "ddddddddd;g" -y "$(SRCPATH_DIRS)" -srcpath "$(SRCPATH_DIRS)" #No Valgrind in cygwin #-G is quit at exit, but does not return ERROR on error!!! and quits on error to quickly ifeq ($(WINDBG),1)
VGRIND = windbg -Q -c "ddddddddd;g" -y "$(SRCPATH_DIRS)" -srcpath "$(SRCPATH_DIRS)" #No Valgrind in cygwin #-G is quit at exit, but does not return ERROR on error!!! and quits on error to quickly
else
VGRIND =
endif
HGRIND =#No Hgrind in cygwin HGRIND =#No Hgrind in cygwin
FPICFLAGS=#FPIC is default and not allowed as an option. FPICFLAGS=#FPIC is default and not allowed as an option.
VISIBILITY=#Not supported VISIBILITY=#Not supported
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment