From a7fecc239ad5349d99d826764a85574332e061da Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 24 Aug 2018 15:56:36 +0200 Subject: Native test script launcher improvments Remove the debug log messages. Display the results of tests at the end. Change-Id: I38ec1a6807a8e7de483545fd3346327fe1847f73 Signed-off-by: Romain Forlot --- test/afb-test.sh | 8 +++++--- test/afb-test/etc/aft-aftest-self.json | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/afb-test.sh b/test/afb-test.sh index d65795d..03f256b 100755 --- a/test/afb-test.sh +++ b/test/afb-test.sh @@ -1,4 +1,4 @@ -#!/bin/sh -x +#!/bin/sh trap cleanup SIGINT SIGTERM SIGABRT SIGHUP @@ -29,8 +29,8 @@ ${BINDER} --name="${PROCNAME}" \ --workdir="${BUILDDIR}/package-test" \ --binding="$AFBTEST" \ -vvv \ ---call="afTest/launch_all_tests:{}" \ ---call="afTest/exit:{}" > ${LOGPIPE} 2>&1 & +--call="aft-aftest/launch_all_tests:{}" \ +--call="aft-aftest/exit:{}" > ${LOGPIPE} 2>&1 & while read -r line do @@ -38,3 +38,5 @@ do done < ${LOGPIPE} rm -f ${LOGPIPE} + +find ${BUILDDIR} -name test_results.log -exec cat {} \; diff --git a/test/afb-test/etc/aft-aftest-self.json b/test/afb-test/etc/aft-aftest-self.json index 73389c5..f8ebbcd 100644 --- a/test/afb-test/etc/aft-aftest-self.json +++ b/test/afb-test/etc/aft-aftest-self.json @@ -16,7 +16,7 @@ "action": "lua://AFT#_launch_test", "args": { "trace": "low-can", - "files": [ "aftTest.lua", "mapis-tests.lua" ] + "files": [ "aftTest.lua", "mapi_tests.lua" ] } }, "mapis": [{ -- cgit 1.2.3-korg