qemu-iotests: Speed up make check-block
Using /tmp, which is usually mounted as tmpfs, the quick group can be quicker. On my laptop (Lenovo T430s with Fedora 20), this reduces the time from 50s to 30s. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
		
							parent
							
								
									709e57753b
								
							
						
					
					
						commit
						b8aff7d6bf
					
				| 
						 | 
					@ -3,6 +3,6 @@
 | 
				
			||||||
cd tests/qemu-iotests
 | 
					cd tests/qemu-iotests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ret=0
 | 
					ret=0
 | 
				
			||||||
./check -T -qcow2 -g quick || ret=1
 | 
					TEST_DIR=${TEST_DIR:-/tmp/qemu-iotests-quick-$$} ./check -T -qcow2 -g quick || ret=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
exit $ret
 | 
					exit $ret
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -238,6 +238,7 @@ QEMU_NBD      -- $QEMU_NBD
 | 
				
			||||||
IMGFMT        -- $FULL_IMGFMT_DETAILS
 | 
					IMGFMT        -- $FULL_IMGFMT_DETAILS
 | 
				
			||||||
IMGPROTO      -- $FULL_IMGPROTO_DETAILS
 | 
					IMGPROTO      -- $FULL_IMGPROTO_DETAILS
 | 
				
			||||||
PLATFORM      -- $FULL_HOST_DETAILS
 | 
					PLATFORM      -- $FULL_HOST_DETAILS
 | 
				
			||||||
 | 
					TEST_DIR      -- $TEST_DIR
 | 
				
			||||||
SOCKET_SCM_HELPER -- $SOCKET_SCM_HELPER
 | 
					SOCKET_SCM_HELPER -- $SOCKET_SCM_HELPER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue