public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shuah Khan <shuah@kernel.org>
To: Thomas Meyer <thomas@m3y3r.de>,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	Shuah Khan <shuah@kernel.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Subject: Re: [PATCH 2/3] selftests/intel_pstate: No need to compile test progs in the run script
Date: Thu, 14 Sep 2017 08:59:21 -0600	[thread overview]
Message-ID: <e80355b9-1288-2e7d-a794-2ba3b8dcd1bb@kernel.org> (raw)
In-Reply-To: <20170908120119.29724-2-thomas@m3y3r.de>

On 09/08/2017 06:01 AM, Thomas Meyer wrote:
> Both test programs are being compiled by make, so no need to compile both
> programs in the runner script.
> This resolves an error when installing all selftests via make install
> and run them in a different environemnt.
> 
> Running tests in intel_pstate
> ========================================
> ./run.sh: line 35: gcc: command not found
> Problem compiling aperf.c.
> 
> Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
> ---
>  tools/testing/selftests/intel_pstate/run.sh | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/tools/testing/selftests/intel_pstate/run.sh b/tools/testing/selftests/intel_pstate/run.sh
> index 7868c106b8b1..96878e44f465 100755
> --- a/tools/testing/selftests/intel_pstate/run.sh
> +++ b/tools/testing/selftests/intel_pstate/run.sh
> @@ -31,12 +31,6 @@ EVALUATE_ONLY=0
>  
>  max_cpus=$(($(nproc)-1))
>  
> -# compile programs
> -gcc aperf.c -Wall -D_GNU_SOURCE -o aperf  -lm
> -[ $? -ne 0 ] && echo "Problem compiling aperf.c." && exit 1
> -gcc -o msr msr.c -lm
> -[ $? -ne 0 ] && echo "Problem compiling msr.c." && exit 1
> -
>  function run_test () {
>  
>  	file_ext=$1
> 
Thanks for the patch. I will get this into 4.14-rc2 or rc3

thanks,
-- Shuah

  reply	other threads:[~2017-09-14 14:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 12:01 [PATCH 1/3] selftests/ftrace: multiple_kprobes: Also check for support Thomas Meyer
2017-09-08 12:01 ` [PATCH 2/3] selftests/intel_pstate: No need to compile test progs in the run script Thomas Meyer
2017-09-14 14:59   ` Shuah Khan [this message]
2017-09-08 12:01 ` [PATCH 3/3] selftests/net: msg_zerocopy enable build with older kernel headers Thomas Meyer
2017-09-14 14:58 ` [PATCH 1/3] selftests/ftrace: multiple_kprobes: Also check for support Shuah Khan
2017-09-14 15:15   ` Masami Hiramatsu
2017-09-15 19:10     ` Steven Rostedt
2017-09-18 15:18     ` Steven Rostedt
2017-09-18 15:19       ` Shuah Khan
2017-09-19 14:47         ` Shuah Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e80355b9-1288-2e7d-a794-2ba3b8dcd1bb@kernel.org \
    --to=shuah@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=shuahkh@osg.samsung.com \
    --cc=thomas@m3y3r.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox