[sanitizer] Disable crypt*.cpp tests on Android
llvm-svn: 374088
This commit is contained in:
		
							parent
							
								
									3a8d80944b
								
							
						
					
					
						commit
						d8245e7a36
					
				| 
						 | 
					@ -1,15 +1,14 @@
 | 
				
			||||||
// RUN: %clangxx -O0 -g %s -lcrypt -o %t && %run %t
 | 
					// RUN: %clangxx -O0 -g %s -lcrypt -o %t && %run %t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// crypt.h is missing from Android.
 | 
				
			||||||
 | 
					// UNSUPPORTED: android
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <assert.h>
 | 
					#include <assert.h>
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
#include <cstring>
 | 
					#include <cstring>
 | 
				
			||||||
#include <crypt.h>
 | 
					#include <crypt.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <sanitizer/msan_interface.h>
 | 
					int main(int argc, char **argv) {
 | 
				
			||||||
 | 
					 | 
				
			||||||
int
 | 
					 | 
				
			||||||
main (int argc, char** argv)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    crypt_data cd;
 | 
					    crypt_data cd;
 | 
				
			||||||
    cd.initialized = 0;
 | 
					    cd.initialized = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,8 @@
 | 
				
			||||||
// RUN: %clangxx -O0 -g %s -o %t -lcrypt && %run %t
 | 
					// RUN: %clangxx -O0 -g %s -o %t -lcrypt && %run %t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// crypt is missing from Android.
 | 
				
			||||||
 | 
					// UNSUPPORTED: android
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <assert.h>
 | 
					#include <assert.h>
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
#include <cstring>
 | 
					#include <cstring>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue