From ab2b6e10ae3559e28e721edcd04669a30c11e7bb Mon Sep 17 00:00:00 2001 From: Ramona Alexandra Nechita Date: Thu, 21 Apr 2022 12:35:14 +0300 Subject: [PATCH] prod: tests common: add support for remote logging Added remote logging for all boards in main_tests Signed-off-by: Ramona Alexandra Nechita --- main_tests/lib/production.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main_tests/lib/production.sh b/main_tests/lib/production.sh index ca1218c..cb5a3e9 100644 --- a/main_tests/lib/production.sh +++ b/main_tests/lib/production.sh @@ -317,6 +317,7 @@ production() { fi if [ "$FAILED" == "0" ] ; then +<<<<<<< HEAD console_ascii_passed if [ $SYNCHRONIZATION -eq 0 ]; then cat "$LOGFILE" > "$LOGDIR/passed_${BOARD_SERIAL}_${RUN_TIMESTAMP}.log" @@ -324,6 +325,14 @@ production() { cat "$LOGFILE" > "$LOGDIR/no_date_passed_${BOARD_SERIAL}_${RUN_TIMESTAMP}.log" fi cat /dev/null > "$LOGFILE" +======= + if [ $SYNCHRONIZATION -eq 0 ]; then + cat "$LOGFILE" > "$LOGDIR/passed_${BOARD_SERIAL}_${RUN_TIMESTAMP}.log" + else + cat "$LOGFILE" > "$LOGDIR/no_date_passed_${BOARD_SERIAL}_${RUN_TIMESTAMP}.log" + fi + cat /dev/null > "$LOGFILE" +>>>>>>> 74fb9fc... prod: tests common: add support for remote logging fi telemetry prod-logs-upload --tdir $LOGDIR }