Hello,

the makefiles in some of the float tests contain the glob "[dr]*" in their 
clean targets. Unfortunately, this deletes not only the generated reference 
files, but also the readme files shipped in those directories. This patch fixes 
it by changing CLEAN_TARGETS to more specific patterns (that capture all 
generated files in all float tests, however).

Regards
    Jiri Palecek

Signed-off-by: Jiri Palecek <[email protected]>
---
 testcases/misc/math/float/iperb/Makefile |    3 ++-
 testcases/misc/math/float/trigo/Makefile |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/testcases/misc/math/float/iperb/Makefile 
b/testcases/misc/math/float/iperb/Makefile
index e7a6774..6b538d1 100644
--- a/testcases/misc/math/float/iperb/Makefile
+++ b/testcases/misc/math/float/iperb/Makefile
@@ -24,7 +24,8 @@ top_srcdir            ?= ../../../../..
 
 include $(top_srcdir)/include/mk/env_pre.mk
 
-CLEAN_TARGETS          := [dr]* *.ref*
+CLEAN_TARGETS          := [rd]*sin [rd]sinh [rd]*cos [rd]cosh [rd]*tan 
[rd]*tan2               \
+[rd]tanh *.ref*
 
 LDLIBS                 += -lm
 
diff --git a/testcases/misc/math/float/trigo/Makefile 
b/testcases/misc/math/float/trigo/Makefile
index c7390ff..4abf9f9 100644
--- a/testcases/misc/math/float/trigo/Makefile
+++ b/testcases/misc/math/float/trigo/Makefile
@@ -24,7 +24,8 @@ top_srcdir            ?= ../../../../..
 
 include $(top_srcdir)/include/mk/env_pre.mk
 
-CLEAN_TARGETS          := [dr]*
+CLEAN_TARGETS          := [rd]*sin [rd]sinh [rd]*cos [rd]cosh [rd]*tan 
[rd]*tan2               \
+[rd]tanh
 
 LDLIBS                 += -lm
 
-- 
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