mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	tests: allow empty expected files
An empty expected file is a handy way to seed the files without creating merge conflicts. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
		
							parent
							
								
									6c35ed68c6
								
							
						
					
					
						commit
						4eb74c4f43
					
				| @ -334,7 +334,10 @@ try_again: | ||||
|         g_assert(ret); | ||||
|         g_assert_no_error(error); | ||||
|         g_assert(exp_sdt.aml); | ||||
|         g_assert(exp_sdt.aml_len); | ||||
|         if (!exp_sdt.aml_len) { | ||||
|             fprintf(stderr, "Warning! zero length expected file '%s'\n", | ||||
|                     aml_file); | ||||
|         } | ||||
| 
 | ||||
|         g_array_append_val(exp_tables, exp_sdt); | ||||
|     } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Michael S. Tsirkin
						Michael S. Tsirkin