allow to give only a part as parameter to ./test
				
					
				
			This commit is contained in:
		
							parent
							
								
									36132b016f
								
							
						
					
					
						commit
						b03b93099d
					
				| @ -351,7 +351,7 @@ int main(int argc, char **argv) | |||||||
| 
 | 
 | ||||||
|    dur = epoch_usec(); |    dur = epoch_usec(); | ||||||
|    for (i = 0; i < sizeof(test_functions)/sizeof(test_functions[0]); ++i) { |    for (i = 0; i < sizeof(test_functions)/sizeof(test_functions[0]); ++i) { | ||||||
|       if (single_test && strcmp(test_functions[i].name, single_test)) { |       if (single_test && strstr(test_functions[i].name, single_test) == NULL) { | ||||||
|         continue; |         continue; | ||||||
|       } |       } | ||||||
|       dots = fn_len - strlen(test_functions[i].name); |       dots = fn_len - strlen(test_functions[i].name); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user