From: chrubis@suse.cz
To: alexey.kodanev@oracle.com
Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net,
Mike Frysinger <vapier@gentoo.org>
Subject: Re: [LTP] [PATCH v6] fw_load: new test of device firmware loading
Date: Wed, 3 Jul 2013 12:33:21 +0200 [thread overview]
Message-ID: <20130703103321.GA2906@rei> (raw)
In-Reply-To: <51D3DA8A.5020602@oracle.com>
Hi!
> >> > +++ b/testcases/kernel/firmware/fw_load_kernel/Makefile
> >> >
> >> > +MAKE_TARGETS := ltp_fw_load.ko
> >> > +ltp_fw_load.ko: ltp_fw_load.c
> >> > + -$(MAKE) -C $(LINUX_DIR) M=$(abs_srcdir)
> >> > + -mv ltp_fw_load.ko ltp_fw_load.ko~
> >> > + -$(MAKE) -C $(LINUX_DIR) M=$(abs_srcdir) clean
> >> > + -mv ltp_fw_load.ko~ ltp_fw_load.ko
> > what's with ignoring the exit status of all these ? and why clean when you're
> > done ? doesn't seem like you'd want to do either of these.
> >
> Ignoring the exit status, allow to proceed with the LTP build, despite
> of any error during the module's build. Then, user-space test will
> return TCONF, if it doesn't find the module.
This is done so that LTP is forward compatible with kernel internal API
changes. The test tries to load the module and returns TCONF if module
was not found (i.e. wasn't build either due to kernel-devel missing or
module build failure).
> There are a lot of files that left after module's build and If I don't
> clean there, I have to manually add files to the clean target and
> perhaps, even more.
Making make clean work would be better, but I'm not sure how to make
that work, the kernel build leaves various files there and I'm not sure
if these have stable names, but we can do some effort to clean up all
the *.cmd.o and maybe some of the rest of them.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-07-03 10:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 11:43 [LTP] [PATCH v6] fw_load: new test of device firmware loading Alexey Kodanev
2013-07-02 18:24 ` chrubis
2013-07-02 20:50 ` Mike Frysinger
2013-07-03 8:02 ` alexey.kodanev
2013-07-03 10:33 ` chrubis [this message]
[not found] ` <201307031300.00679.vapier@gentoo.org>
[not found] ` <51D548FC.9010003@oracle.com>
2013-07-10 11:14 ` chrubis
[not found] ` <51DBCD1E.3040303@oracle.com>
2013-07-10 11:43 ` chrubis
2013-07-03 11:08 ` chrubis
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=20130703103321.GA2906@rei \
--to=chrubis@suse.cz \
--cc=alexey.kodanev@oracle.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=vapier@gentoo.org \
--cc=vasily.isaenko@oracle.com \
/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