summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-26 15:25:45 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-26 15:25:45 +0300
commita14074ae637b03255c906e53bd026498b5b91698 (patch)
tree5b2e79e0fe922e1e9e8561f6626e783063b28d62 /scripts
parentd9e15ef3758b04bf1a49aeb92d1969cfbb82aab0 (diff)
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 <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vsp-lib.sh2
1 files changed, 1 insertions, 1 deletions
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=