Disable failing tests lib/asan/tests on NetBSD
These isses are not analyzed. llvm-svn: 344045
This commit is contained in:
		
							parent
							
								
									3acdd020b4
								
							
						
					
					
						commit
						d98081a783
					
				| 
						 | 
				
			
			@ -102,6 +102,7 @@ TEST(AddressSanitizerInterface, GetHeapSizeTest) {
 | 
			
		|||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#if !defined(__NetBSD__)
 | 
			
		||||
static const size_t kManyThreadsMallocSizes[] = {5, 1UL<<10, 1UL<<14, 357};
 | 
			
		||||
static const size_t kManyThreadsIterations = 250;
 | 
			
		||||
static const size_t kManyThreadsNumThreads =
 | 
			
		||||
| 
						 | 
				
			
			@ -135,6 +136,7 @@ TEST(AddressSanitizerInterface, ManyThreadsWithStatsStressTest) {
 | 
			
		|||
  // so we can't check for equality here.
 | 
			
		||||
  EXPECT_LT(after_test, before_test + (1UL<<20));
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
static void DoDoubleFree() {
 | 
			
		||||
  int *x = Ident(new int);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -153,6 +153,7 @@ TEST(AddressSanitizer, QuarantineTest) {
 | 
			
		|||
  EXPECT_LT(i, max_i);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#if !defined(__NetBSD__)
 | 
			
		||||
void *ThreadedQuarantineTestWorker(void *unused) {
 | 
			
		||||
  (void)unused;
 | 
			
		||||
  u32 seed = my_rand();
 | 
			
		||||
| 
						 | 
				
			
			@ -187,6 +188,7 @@ TEST(AddressSanitizer, ThreadedQuarantineTest) {
 | 
			
		|||
    EXPECT_LT(mmaped2 - mmaped1, 320U * (1 << 20));
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void *ThreadedOneSizeMallocStress(void *unused) {
 | 
			
		||||
  (void)unused;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue