Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752024AbdHKAvP (ORCPT ); Thu, 10 Aug 2017 20:51:15 -0400 Received: from resqmta-po-11v.sys.comcast.net ([96.114.154.170]:52214 "EHLO resqmta-po-11v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751456AbdHKAvN (ORCPT ); Thu, 10 Aug 2017 20:51:13 -0400 Reply-To: shuah@kernel.org Subject: Re: [PATCH 0/3] selfttests: timers ksft_ stubs handling changes To: John Stultz , Shuah Khan Cc: Thomas Gleixner , Stephen Boyd , lkml , linux-kselftest@vger.kernel.org, Shuah Khan References: From: Shuah Khan Message-ID: Date: Thu, 10 Aug 2017 18:51:11 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfE34N4Pl/TR7h44LhuEHmrdcdpnyGYavaHZQw2Bfq3fDV3s0lHsEM3uDT/iQ3CbSjjYxd5ZH5cDbWKxwcUMyT8FBSaVfdBA1PHOv5GCO+3cqG8dPwPMz St4i/EYFNEsHgVt/VyMEGbEdVneSkaFPFjraeW3Dtd304eqKe9fewY9eIFkdQcwPJtvElE14xzSptFKyMrLav4v2jDLnSnxpZdoldTSeUhrY+87vbUBh6CBL 6+s0ufnzOVV1sAs2wWvickQ2a04fKe8kplZgHsxnW9WVuTt46aY34KM4IsobrgZuTTgk96HNEktc2lOeIkmvfBacWhad+BL79LvApBnKffgZJXhmt3CJ8vgu sULs32vxVfAa0ZAPzQD81K8z9oPTqw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1779 Lines: 44 On 08/10/2017 06:10 PM, John Stultz wrote: > On Thu, Aug 10, 2017 at 4:53 PM, Shuah Khan wrote: >> This patch series consists of changes to: >> >> Move ksft_ stubs from individual tests into kselftest_stubs.h and change >> tests to include it. >> >> Fix posix_timers and freq-step tests to run without ksft_ framework. >> >> This is in preparation to convert timers tests to ksft TAP 13 format. >> >> Question for John Stultz: >> >> The conversion work will be easier without the requirement to be able to >> build and run these tests without ksft_ framework. So far the stubs are >> simpler. It is might be necessary to ifdef some code paths to have sane >> output for both KTEST and !KTEST cases. >> >> Would it be easier to pull in kselftest.h into timers external repo >> (if one still exists). This is based on the observation that newer >> timer tests don't support !KTEST case e.g: posix_timers and freq-step. >> >> Please review and let me know how you would like me to proceed with the >> conversion. I am looking for answer to how important is it to continue to >> support !KTEST case. > > Yea. I'm thinking at this point I'm fine with dropping the attempt to > keep kselftest and my external timekeeping tests in sync. Would you like me to clean !KTEST support or leave it the way it is. It sounds like, I will drop these patches anyway. > > Though something that might be nice however is having some place that > keeps tarball releases of kselftest around? As it would make pulling > tests onto a target machine a bit easier. Does that already exist? > There is an install script tools/testing/selftests/gen_kselftest_tar.sh for generating tar-ball for compiled tests at the moment. There is none for source package. thanks, -- Shuah