From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Sony.onmicrosoft.com; s=selector1-Sony-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gbnqrwM75i4AIg164I43UWxU4YA8U2WG4kShzZnhnv0=; b=Au4uZ/5L1zWApJc+ZwAq1GTmxnOjMwxj+giawAo32pk3n2Kd9Wk78n2C5FrNBc3aJI77d1/5lJj3DiUuZ9RDKPKEOdPhzjfyOP92xtRXvxvrU/SYPlrG9dxkHEMRLmKaVsJsAG6DKfxkHwMX02PzVVNNwVyZtMKnmqfc7cepLfc= From: "Bird, Timothy" Date: Fri, 12 May 2017 22:57:17 +0000 Message-ID: References: <1494577200-11597-1-git-send-email-daniel.sangorrin@toshiba.co.jp> <1494577200-11597-18-git-send-email-daniel.sangorrin@toshiba.co.jp> In-Reply-To: <1494577200-11597-18-git-send-email-daniel.sangorrin@toshiba.co.jp> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Fuego] [PATCH 17/19] LTP: add support for skipping certain test cases List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Daniel Sangorrin , "fuego@lists.linuxfoundation.org" Nice. Thanks! -- Tim > -----Original Message----- > From: fuego-bounces@lists.linuxfoundation.org [mailto:fuego- > bounces@lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin > Sent: Friday, May 12, 2017 1:20 AM > To: fuego@lists.linuxfoundation.org > Subject: [Fuego] [PATCH 17/19] LTP: add support for skipping certain test > cases >=20 > The implementation reuses the -S option available already > in LTP's script. >=20 > Signed-off-by: Daniel Sangorrin > --- > engine/tests/Functional.LTP/fuego_test.sh | 8 +++++++- > engine/tests/Functional.LTP/ltp_target_run.sh | 1 + > 2 files changed, 8 insertions(+), 1 deletion(-) >=20 > diff --git a/engine/tests/Functional.LTP/fuego_test.sh > b/engine/tests/Functional.LTP/fuego_test.sh > index 8ea78c7..35dec5a 100755 > --- a/engine/tests/Functional.LTP/fuego_test.sh > +++ b/engine/tests/Functional.LTP/fuego_test.sh > @@ -106,6 +106,13 @@ function test_deploy { > awk '/^[^#]/ { print "rm -f ltp/testcases/bin/" $2 }' ltp/ru= ntest/syscalls > | sh > fi >=20 > + echo "# skip this test cases" > ltp/skiplist.txt > + if [ ! -z ${FUNCTIONAL_LTP_SKIPLIST+x} ]; then > + for item in $FUNCTIONAL_LTP_SKIPLIST; do > + echo $item >> ltp/skiplist.txt > + done > + fi > + > if [ "$FUNCTIONAL_LTP_BUILDONLY" =3D "true" ]; then > echo "Creating LTP binary tarball" > tar zcvpf ltp.tar.gz ltp/ > @@ -152,7 +159,6 @@ function test_run { > FUNCTIONAL_LTP_RUNFOLDER=3D"$BOARD_TESTDIR/fuego.$TESTDIR" > fi >=20 > - # FIXTHIS: add blacklist of tests (kill10 etc) > # Let some of the tests fail, the information will be in the res= ult xlsx file > report "cd $FUNCTIONAL_LTP_RUNFOLDER; TESTS=3D\"$TESTS\"; > PTSTESTS=3D\"$PTSTESTS\"; RTTESTS=3D\"$RTTESTS\"; . ./ltp_target_run.sh" > else > diff --git a/engine/tests/Functional.LTP/ltp_target_run.sh > b/engine/tests/Functional.LTP/ltp_target_run.sh > index 6a67d35..8907ebe 100755 > --- a/engine/tests/Functional.LTP/ltp_target_run.sh > +++ b/engine/tests/Functional.LTP/ltp_target_run.sh > @@ -23,6 +23,7 @@ for i in ${TESTS}; do > -l ${OUTPUT_DIR}/${i}/result.log \ > -o ${OUTPUT_DIR}/${i}/output.log \ > -d ${TMP_DIR} \ > + -S ./skiplist.txt \ > -f $i > ${OUTPUT_DIR}/${i}/head.log 2>&1 > rm -rf ${TMP_DIR}/* > done > -- > 2.7.4 >=20 >=20 > _______________________________________________ > Fuego mailing list > Fuego@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/fuego