Browse Source

refs #5672 compile drd/helgrind tests with -O1 so they complete in a reasonable amount of time

git-svn-id: file:///svn/toku/tokudb@51305 c7de825b-a66e-492c-adef-691d508d4ae1
pull/73/head
Leif Walsh 13 years ago
committed by Yoni Fogel
parent
commit
1517b01985
  1. 2
      ft/ft-ops.cc
  2. 2
      scripts/run.fractal.tree.tests.bash

2
ft/ft-ops.cc

@ -1064,7 +1064,7 @@ exit:
// Using a valgrind suppressions file is better than the DRD_IGNORE_VAR macro because it's more targeted.
// We need a function to have something a drd suppression can reference
// see src/tests/drd.suppressions (unsafe_touch_clock)
static inline void unsafe_touch_clock(FTNODE node, int i) {
static void unsafe_touch_clock(FTNODE node, int i) {
BP_TOUCH_CLOCK(node, i);
}

2
scripts/run.fractal.tree.tests.bash

@ -289,6 +289,8 @@ cmake \
-D USE_GTAGS=OFF \
-D USE_ETAGS=OFF \
-D USE_CSCOPE=OFF \
-D CMAKE_C_FLAGS_DEBUG="-O1" \
-D CMAKE_CXX_FLAGS_DEBUG="-O1" \
-D TOKU_SVNROOT="$toku_svnroot" \
-G "$generator" \
.. 2>&1 | tee -a $tracefile

Loading…
Cancel
Save