Hello,

the objdump tests' Makefile is disabled in the current LTP. This patch 
reenables it, and makes it work (at least for me).

Regards
    Jiri Palecek

Signed-off-by: Jiri Palecek <[email protected]>
---
 testcases/commands/ade/Makefile         |    3 ---
 testcases/commands/ade/objdump/Makefile |    6 +++---
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/testcases/commands/ade/Makefile b/testcases/commands/ade/Makefile
index cf7a487..9f57629 100644
--- a/testcases/commands/ade/Makefile
+++ b/testcases/commands/ade/Makefile
@@ -24,7 +24,4 @@ top_srcdir            ?= ../../..
 
 include $(top_srcdir)/include/mk/env_pre.mk
 
-# XXX (garrcoop): objdump's Makefile needs fixing.
-FILTER_OUT_DIRS                := objdump
-
 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..ed3ad26 100644
--- a/testcases/commands/ade/objdump/Makefile
+++ b/testcases/commands/ade/objdump/Makefile
@@ -27,13 +27,13 @@ include $(top_srcdir)/include/mk/env_pre.mk
 test: CPPFLAGS += -O
 
 test_arch.obj: test.o
-       mv $< "$@"
+       cp $< "$@"
 
 test_D: test.o
-       $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION) $@
+       $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION)
 
 INSTALL_TARGETS                := objdump01
- 
+
 MAKE_TARGETS           := test test_arch.obj test_D
 
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
-- 
1.6.4.3




------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to