summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2013-05-23 20:45:47 +0000
committerchristos <christos@NetBSD.org>2013-05-23 20:45:47 +0000
commit6b16d5e0a928362e8d4858f1b77c9e282daa8b6c (patch)
treedffa6c1b72c59ec4dcaa70a685584662072311b9
parente9e43eb8d633f28d8ed253a81183e9e4785db091 (diff)
vaxinate the new tests.
-rw-r--r--tests/lib/libm/t_scalbn.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/lib/libm/t_scalbn.c b/tests/lib/libm/t_scalbn.c
index 9206a21c23c..f5ae9e35005 100644
--- a/tests/lib/libm/t_scalbn.c
+++ b/tests/lib/libm/t_scalbn.c
@@ -1,4 +1,4 @@
-/* $NetBSD: t_scalbn.c,v 1.8 2013/05/20 12:21:42 martin Exp $ */
+/* $NetBSD: t_scalbn.c,v 1.9 2013/05/23 20:45:47 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_scalbn.c,v 1.8 2013/05/20 12:21:42 martin Exp $");
+__RCSID("$NetBSD: t_scalbn.c,v 1.9 2013/05/23 20:45:47 christos Exp $");
#include <math.h>
#include <limits.h>
@@ -75,6 +75,7 @@ ATF_TC_HEAD(scalbn_val, tc)
ATF_TC_BODY(scalbn_val, tc)
{
+#ifndef __vax__
const struct testcase *tests = test_vals;
const size_t tcnt = __arraycount(test_vals);
size_t i;
@@ -89,6 +90,7 @@ ATF_TC_BODY(scalbn_val, tc)
"test %zu: return value %g instead of %g (difference %g)",
i, rv, tests[i].result, tests[i].result-rv);
}
+#endif
}
ATF_TC(scalbn_nan);
@@ -228,6 +230,7 @@ ATF_TC_HEAD(scalbnf_val, tc)
ATF_TC_BODY(scalbnf_val, tc)
{
+#ifndef __vax__
const struct testcase *tests = test_vals;
const size_t tcnt = __arraycount(test_vals);
size_t i;
@@ -242,6 +245,7 @@ ATF_TC_BODY(scalbnf_val, tc)
"test %zu: return value %g instead of %g (difference %g)",
i, rv, tests[i].result, tests[i].result-rv);
}
+#endif
}
ATF_TC(scalbnf_nan);