tests: vm-run: Create a symlink to the latest logs
This is useful when running a test multiple times, looking at log output etc. to not have to pick out the right directory each and every time. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
d8c20ec591
commit
8bdefe511c
1 changed files with 3 additions and 1 deletions
|
@ -86,6 +86,8 @@ done
|
|||
|
||||
LOGDIR=$LOGS/$DATE
|
||||
mkdir -p $LOGDIR
|
||||
rm -f $LOGS/latest
|
||||
ln -s $LOGDIR $LOGS/latest
|
||||
|
||||
if [ -n "$CODECOV_DIR" ]; then
|
||||
cp -a $CODECOV_DIR/alt-wpa_supplicant $LOGDIR
|
||||
|
@ -142,7 +144,7 @@ fi
|
|||
|
||||
echo
|
||||
echo "Test run completed"
|
||||
echo "Logfiles are at $LOGDIR"
|
||||
echo "Logfiles are at $LOGDIR ($LOGS/latest)"
|
||||
if [ $CODECOV = "yes" ]; then
|
||||
echo "Code coverage report:"
|
||||
echo "file://$LOGDIR/lcov/index.html"
|
||||
|
|
Loading…
Reference in a new issue