projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark privileged tests modules.
[gnulib.git]
/
tests
/
test-strtod.c
diff --git
a/tests/test-strtod.c
b/tests/test-strtod.c
index
affd52c
..
cdb57b2
100644
(file)
--- a/
tests/test-strtod.c
+++ b/
tests/test-strtod.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2008, 2009
Free Software Foundation
+ * Copyright (C) 2008, 2009
, 2010 Free Software Foundation, Inc.
* Written by Eric Blake
*
* This program is free software: you can redistribute it and/or modify
* Written by Eric Blake
*
* This program is free software: you can redistribute it and/or modify
@@
-25,22
+25,10
@@
SIGNATURE_CHECK (strtod, double, (char const *, char **));
#include <errno.h>
#include <float.h>
#include <math.h>
#include <errno.h>
#include <float.h>
#include <math.h>
-#include <stdio.h>
#include <string.h>
#include "isnand-nolibm.h"
#include <string.h>
#include "isnand-nolibm.h"
-
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- /* FIXME abort ();*/status = 1; \
- } \
- } \
- while (0)
+#include "macros.h"
/* Avoid requiring -lm just for fabs. */
#define FABS(d) ((d) < 0.0 ? -(d) : (d))
/* Avoid requiring -lm just for fabs. */
#define FABS(d) ((d) < 0.0 ? -(d) : (d))