aboutsummaryrefslogtreecommitdiff
path: root/testcases/misc
diff options
context:
space:
mode:
authorsubrata_modak <subrata_modak>2009-12-07 11:12:32 +0000
committersubrata_modak <subrata_modak>2009-12-07 11:12:32 +0000
commita9a762b709dfead3ba4472a7a085ab33ac189c2a (patch)
tree68f56d64777488a092093085b380d0f0f71f86ef /testcases/misc
parentbbbf31974d73260c31ae067efd26582a5158185c (diff)
Fix overreaching clean targets in Makefiles that cleaned the readme files: 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). Signed-off-by: Jiri Palecek <jpalecek@web.de>.
Diffstat (limited to 'testcases/misc')
-rw-r--r--testcases/misc/math/float/iperb/Makefile3
-rw-r--r--testcases/misc/math/float/trigo/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/testcases/misc/math/float/iperb/Makefile b/testcases/misc/math/float/iperb/Makefile
index e7a677482..6b538d1ab 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 c7390ff29..4abf9f975 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