default sanitizer choice
This commit is contained in:
		@@ -103,7 +103,7 @@ def runCMake(sanitizer, buildDir):
 | 
				
			|||||||
        'tsan': '-DSANITIZE_THREAD=On',
 | 
					        'tsan': '-DSANITIZE_THREAD=On',
 | 
				
			||||||
        'none': ''
 | 
					        'none': ''
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    sanitizerFlag = sanitizersFlags[sanitizer]
 | 
					    sanitizerFlag = sanitizersFlags.get(sanitizer, '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # CMake installed via Self Service ends up here.
 | 
					    # CMake installed via Self Service ends up here.
 | 
				
			||||||
    cmakeExecutable = '/Applications/CMake.app/Contents/bin/cmake'
 | 
					    cmakeExecutable = '/Applications/CMake.app/Contents/bin/cmake'
 | 
				
			||||||
@@ -508,7 +508,7 @@ def main():
 | 
				
			|||||||
    # Sanitizers display lots of strange errors on Linux on CI,
 | 
					    # Sanitizers display lots of strange errors on Linux on CI,
 | 
				
			||||||
    # which looks like false positives
 | 
					    # which looks like false positives
 | 
				
			||||||
    if platform.system() != 'Darwin':
 | 
					    if platform.system() != 'Darwin':
 | 
				
			||||||
        sanitizer = None
 | 
					        sanitizer = 'none'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return run(args.test, buildDir, sanitizer, xmlOutput, 
 | 
					    return run(args.test, buildDir, sanitizer, xmlOutput, 
 | 
				
			||||||
               testRunName, args.build_only, args.lldb)
 | 
					               testRunName, args.build_only, args.lldb)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user