public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: alexey kodanev <alexey.kodanev@oracle.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] testcases/kernel/firmware: fix a bug of make install
Date: Tue, 16 Jul 2013 07:12:48 -0400 (EDT)	[thread overview]
Message-ID: <1942688902.1035838.1373973168675.JavaMail.root@redhat.com> (raw)
In-Reply-To: <51E5189F.3090703@oracle.com>





----- Original Message -----
> From: "alexey kodanev" <alexey.kodanev@oracle.com>
> To: "Peng Haitao" <penght@cn.fujitsu.com>
> Cc: "Jan Stancek" <jstancek@redhat.com>, ltp-list@lists.sourceforge.net
> Sent: Tuesday, 16 July, 2013 11:55:43 AM
> Subject: Re: [LTP] [PATCH] testcases/kernel/firmware: fix a bug of make install
> 
> Hi!
> 
> >>
> >>   ifeq ($(SKIP),0)
> >>   SUBDIRS                        += fw_load_kernel
> >> -SUBDIRS                        += fw_load_user
> >>   endif
> >> +SUBDIRS                        += fw_load_user
> >>
> >> We always build userspace part. The check for kernel version is
> >> already in setup(). We just need to make sure userspace bits compile
> >> everywhere.
> >> I tried 2.6.32 based kernel, it builds and runs:
> >> # ./fw_load_user/fw_load
> >> fw_load     1  TCONF  :  Test must be run with kernel 3.7 or newer
> >> fw_load     2  TCONF  :  Remaining cases not appropriate for configuration
> >>
> or in case we don't want compile user-space part:

I think the issue here is that this testcase is listed in some runtest file (kernel_misc).
So when you try to run it, ltp is looking for 'fw_load' binary, which doesn't exist.

Regards,
Jan

> ...
> 
> SUBDIRS			+= fw_load_user
> include $(top_srcdir)/include/mk/generic_trunk_target.mk
> else
> include $(top_srcdir)/include/mk/generic_leaf_target.mk
> endif
> 
> Thanks,
> Alexey
> 
> 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2013-07-16 11:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16  8:31 [LTP] [PATCH] testcases/kernel/firmware: fix a bug of make install Peng Haitao
2013-07-16  9:19 ` Jan Stancek
2013-07-16  9:33   ` Peng Haitao
2013-07-16  9:55     ` alexey.kodanev
2013-07-16 11:12       ` Jan Stancek [this message]

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=1942688902.1035838.1373973168675.JavaMail.root@redhat.com \
    --to=jstancek@redhat.com \
    --cc=alexey.kodanev@oracle.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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