From a14074ae637b03255c906e53bd026498b5b91698 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 26 Jun 2016 15:25:45 +0300 Subject: vsp-lib: Only remove binaries related to current test Removing all .bin files when starting a test removes not only the result of previous runs of the current test as desired, but also the result of all tests run previously. Fix it by only removing binaries related to the current test. Signed-off-by: Laurent Pinchart --- scripts/vsp-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index bd3e7ae..40b6144 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -774,7 +774,7 @@ test_init() { local optional_features=$3 rm -f $logfile - rm -f *.bin + rm -f ${1/.sh/}*.bin local best_features_count=0 local best_mdev= -- cgit v1.2.3