]> Git Repo - qemu.git/commit
qemu-iotests: cleanup and fix search for programs
authorPaolo Bonzini <[email protected]>
Tue, 12 Sep 2017 14:44:53 +0000 (16:44 +0200)
committerKevin Wolf <[email protected]>
Fri, 6 Oct 2017 14:28:58 +0000 (16:28 +0200)
commitcceaf1db6fbede3ed0bca103d12f8a19c1374e42
treea4ba29468ad00e6745a6406d2d7f7d3f249ba260
parent48259488aa0aa05047a27f6b53a8df0111e32472
qemu-iotests: cleanup and fix search for programs

Instead of ./check failing when a binary is missing, we try each test
case now and each one fails with tons of test case diffs.  Also, all the
variables were initialized by "check" prior to "common" being sourced,
and then (uselessly) checked for emptiness again in "check".

Centralize the search for programs in "common" (which will soon be
one with "check"), including the "realpath" invocation which can be done
just once in "check" rather than in the tests.

For qnio_server, move the detection to "common", simplifying
set_prog_path to stop handling the unused second argument, and
embedding the "realpath" pass.

Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/qemu-iotests/check
tests/qemu-iotests/common
tests/qemu-iotests/common.config
This page took 0.028326 seconds and 4 git commands to generate.