Adding_MD_integration_tests
        Adding_StructOpt_integration_tests
        AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChemicalSpaceEvaluator
        Enhanced_StructuralOptimization
        Enhanced_StructuralOptimization_continued
        Exclude_Hydrogens_annealWithBondGraph
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_contraction-expansion
        Gui_displays_atomic_force_velocity
        JobMarket_RobustOnKillsSegFaults
        JobMarket_StableWorkerPool
        PythonUI_with_named_parameters
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        stable
      
      
        
          | Last change
 on this file since 37fe17 was             9eb71b3, checked in by Frederik Heber <frederik.heber@…>, 8 years ago | 
        
          | 
Commented out MemDebug include and Memory::ignore.
 MemDebug clashes with various allocation operators that use a specific
placement in memory. It is so far not possible to wrap new/delete fully.
Hence, we stop this effort which so far has forced us to put ever more
includes (with clashes) into MemDebug and thereby bloat compilation time.
MemDebug does not add that much usefulness which is not also provided by
valgrind.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            757 bytes | 
      
      
| Rev | Line |  | 
|---|
| [9eb71b3] | 1 | AT_SETUP([Checking for present, deactivated MemDebug.hpp include]) | 
|---|
| [f281c5] | 2 | AT_KEYWORDS([CodeCheck MemDebug]) | 
|---|
| [e674c9] | 3 | ok="" | 
|---|
| [bf4b9f] | 4 | echo `pwd` | 
|---|
|  | 5 | echo "${#ok[*]} are ok to not contain MemDebug.hpp: ${ok[0]} ${ok[1]}." | 
|---|
|  | 6 | liste=`find ${abs_top_srcdir}/src -name '*.cpp'` | 
|---|
|  | 7 | for file in $liste | 
|---|
|  | 8 | do | 
|---|
|  | 9 | # check whether its one of the excluded ones | 
|---|
|  | 10 | found=0 | 
|---|
|  | 11 | for item in $ok | 
|---|
|  | 12 | do | 
|---|
|  | 13 | if test "$item" == "`basename $file`" | 
|---|
|  | 14 | then | 
|---|
|  | 15 | found=1 | 
|---|
|  | 16 | break | 
|---|
|  | 17 | fi | 
|---|
|  | 18 | done | 
|---|
|  | 19 | # if not, check whether it contains the include if its NOT a unit test | 
|---|
|  | 20 | if test -z `echo $file | grep unittests` | 
|---|
|  | 21 | then | 
|---|
|  | 22 | if test $found -eq 0 | 
|---|
|  | 23 | then | 
|---|
| [9eb71b3] | 24 | AT_CHECK([egrep -q '^//#include.*MemDebug.hpp' $file], 0, [ignore], [ignore], [echo "Could not find MemDebug.hpp include in $file."]) | 
|---|
| [bf4b9f] | 25 | fi | 
|---|
|  | 26 | fi | 
|---|
|  | 27 | done | 
|---|
|  | 28 | AT_CLEANUP | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.