From: liubo <liubo2009@cn.fujitsu.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH 1/3] ade: fix the bug of objdump01
Date: Wed, 16 Dec 2009 19:37:39 +0800 [thread overview]
Message-ID: <4B28C683.3030106@cn.fujitsu.com> (raw)
- LTP needs to test "objdump", but ade's Makefile exclude it.
- objdump01 case uses *.obj instead, so s/*.o/*.obj/
This patch fixed these.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
testcases/commands/ade/Makefile | 2 +-
testcases/commands/ade/objdump/Makefile | 4 ++--
testcases/commands/ade/objdump/objdump01 | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/testcases/commands/ade/Makefile b/testcases/commands/ade/Makefile
index cf7a487..79de5ec 100644
--- a/testcases/commands/ade/Makefile
+++ b/testcases/commands/ade/Makefile
@@ -25,6 +25,6 @@ top_srcdir ?= ../../..
include $(top_srcdir)/include/mk/env_pre.mk
# XXX (garrcoop): objdump's Makefile needs fixing.
-FILTER_OUT_DIRS := objdump
+FILTER_OUT_DIRS :=
include $(top_srcdir)/include/mk/generic_trunk_target.mk
diff --git a/testcases/commands/ade/objdump/Makefile b/testcases/commands/ade/objdump/Makefile
index 862438c..7fffc88 100644
--- a/testcases/commands/ade/objdump/Makefile
+++ b/testcases/commands/ade/objdump/Makefile
@@ -29,8 +29,8 @@ test: CPPFLAGS += -O
test_arch.obj: test.o
mv $< "$@"
-test_D: test.o
- $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION) $@
+test_D: test_arch.obj
+ $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION)
INSTALL_TARGETS := objdump01
diff --git a/testcases/commands/ade/objdump/objdump01 b/testcases/commands/ade/objdump/objdump01
index 379a4f8..dd18e46 100755
--- a/testcases/commands/ade/objdump/objdump01
+++ b/testcases/commands/ade/objdump/objdump01
@@ -41,7 +41,7 @@ export DUMP=/usr/bin/objdump
do_setup()
{
mkdir $TCtmp
-/usr/bin/ar -cr $TCtmp/lib.a $TCsrc/test_arch.o
+/usr/bin/ar -cr $TCtmp/lib.a $TCsrc/test_arch.obj
echo 1; $DUMP -f $TCsrc/test > $TCtmp/er_dump_f
echo 2; $DUMP -h $TCsrc/test > $TCtmp/er_dump_h
--
1.6.2.2
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2009-12-16 11:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 11:37 liubo [this message]
2009-12-17 8:34 ` [LTP] [PATCH 1/3] ade: fix the bug of objdump01 Garrett Cooper
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=4B28C683.3030106@cn.fujitsu.com \
--to=liubo2009@cn.fujitsu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.