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:X-MS-Exchange-SenderADCheck; bh=lSwFgGfg5no5WuICVOjAC3obCbE2/l4ya3DTEkHbHFU=; b=GlMMsqGvc37bsKBd3BQgdydwW2y+GEYb+piSxLDSz7rWoJqX5JW5FFi5ffLkyqNW76xpGAQQLKYf+aVTOxiTrWcAm4sQDCZGEuOMHvqmfz15SyX9Ot6NzOmv/EFDhmlV9U6dFPaivO8acOxsFIVFjXpz00PEFHPnbh7X8ZHDLB4= From: Date: Fri, 13 Jul 2018 17:14:56 +0000 Message-ID: References: <1530708469-14477-1-git-send-email-lixm.fnst@cn.fujitsu.com> <62079D2F712F7747B0BDCC6821B8DF0D013CF2F1@G08CNEXMBPEKD02.g08.fujitsu.local> <000601d414ff$e1f7dac0$a5e79040$@toshiba.co.jp> In-Reply-To: <000601d414ff$e1f7dac0$a5e79040$@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] LTP_Smack: add a new job to test "smack" module List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: daniel.sangorrin@toshiba.co.jp, lixm.fnst@cn.fujitsu.com, fuego@lists.linuxfoundation.org > -----Original Message----- > From: Daniel Sangorrin >=20 > Hi Li, Tim: >=20 > The smack tests can be run using: > $ ftc run-test -b myboard -t Functional.LTP --dynamic-vars "{'tests':'s= mack'}" Which reminds me that I want to get the dynamic-vars feature merged. Maybe we can find some time next week to split it from the 'call-ftc-direct= ly' patches and get it into master? >=20 > Alternatively, while "Dynamic vars" are merged, you can instead add a spe= c > to Functional.LTP/spec.json Do you mean "not merged"? But yes, Li, you should be able to do this as a spec for Functional.LTP. I= s there a reason this was done as a separate test? I thought there would be special setup (and there is, to some degree). Is that the reason this is not just another LTP spec? >=20 > Note: make sure that you prepare your machine for smack by modifying > fstab and adding the security=3Dsmack kernel parameter > # vi /etc/fstab > smackfs /sys/fs/smackfs smackfs defaults 0 0 > # reboot > -> grub: add security=3Dsmack >=20 > If you want to run a single smack test (e.g. smack_set_ambient) then you > should be able to use Function.LTP_one_test. Unfortunately, > Function.LTP_one_test's test_deploy function still needs some > improvements. >=20 > After those improvements this should work: > $ ftc run-test -b myboard -t Functional.LTP_one_test --dynamic-vars > "{'TEST':'smack_set_environment', 'scenario':'smack'}" This looks like it will perform the smack setup, but does it also run the smack tests? -- Tim