From 88309ba98748655dece94477c5f4606a8b759794 Mon Sep 17 00:00:00 2001 From: njoly Date: Fri, 10 Jun 2011 17:10:43 +0000 Subject: [PATCH] Do not print sizeof values in skip message. --- tests/lib/libc/t_convfp.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/lib/libc/t_convfp.c b/tests/lib/libc/t_convfp.c index 8f9c96b1fe40..6504ff8785a4 100644 --- a/tests/lib/libc/t_convfp.c +++ b/tests/lib/libc/t_convfp.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_convfp.c,v 1.4 2011/06/10 15:52:44 njoly Exp $ */ +/* $NetBSD: t_convfp.c,v 1.5 2011/06/10 17:10:43 njoly Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -75,12 +75,13 @@ ATF_TC_BODY(test1, tc) dt = ULONG_TESTVALUE; ul = (unsigned long)dt; printf("testing long double vs. long\n"); - } else - atf_tc_skip("no suitable {long} double type found, skipping " - "\"unsigned long\" test: " - "sizeof(long) = %d, sizeof(double) = %d, " - "sizeof(long double) = %d", + } else { + printf("sizeof(long) = %d, sizeof(double) = %d, " + "sizeof(long double) = %d\n", sizeof(ul), sizeof(d), sizeof(dt)); + atf_tc_skip("no suitable {long} double type found, skipping " + "\"unsigned long\" test"); + } if (ul != ULONG_TESTVALUE) atf_tc_fail("unsigned long %lu (0x%lx) != %lu (0x%lx)",