[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] frexp-nolibm-tests: include required test-frexp.h
From: |
Jim Meyering |
Subject: |
[PATCH] frexp-nolibm-tests: include required test-frexp.h |
Date: |
Wed, 07 Mar 2012 22:26:44 +0100 |
Hi Bruno,
I tried to build coreutils using the latest from gnulib
and saw compilation failures in the new tests:
test-frexp.c:59:24: fatal error: test-frexp.h: No such file or directory
compilation terminated.
test-frexpl.c:66:24: fatal error: test-frexp.h: No such file or directory
compilation terminated.
Here's the proposed fix:
>From 98ea8f52840376969518ff047b094f157a078d0e Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 7 Mar 2012 22:14:25 +0100
Subject: [PATCH] frexp-nolibm-tests: include required test-frexp.h
* modules/frexp-nolibm-tests (Files): Add test-frexp.h, which
is included by test-frexp.c.
Also add tests/randomd.c, required due to test-frexp.h's use
of RANDOM.
(test_frexp_nolibm_SOURCES): Now that we're using
randomd/RANDOM, we must link with randomd.c.
---
ChangeLog | 7 +++++++
modules/frexp-nolibm-tests | 4 +++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 83a09a4..257e914 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-03-07 Jim Meyering <address@hidden>
+ frexp-nolibm-tests: include required test-frexp.h
+ * modules/frexp-nolibm-tests (Files): Add test-frexp.h, which
+ is included by test-frexp.c.
+ Also add tests/randomd.c, required due to test-frexp.h's use
+ of RANDOM.
+ (test_frexp_nolibm_SOURCES): Now that we're using
+
readtokens: add tests
* modules/readtokens-tests: New file.
* tests/test-readtokens.c: New file.
diff --git a/modules/frexp-nolibm-tests b/modules/frexp-nolibm-tests
index 963a52e..f5dbde7 100644
--- a/modules/frexp-nolibm-tests
+++ b/modules/frexp-nolibm-tests
@@ -1,8 +1,10 @@
Files:
tests/test-frexp.c
+tests/test-frexp.h
tests/minus-zero.h
tests/infinity.h
tests/nan.h
+tests/randomd.c
tests/signature.h
tests/macros.h
@@ -15,4 +17,4 @@ configure.ac:
Makefile.am:
TESTS += test-frexp-nolibm
check_PROGRAMS += test-frexp-nolibm
-test_frexp_nolibm_SOURCES = test-frexp.c
+test_frexp_nolibm_SOURCES = test-frexp.c randomd.c
--
1.7.9.3.363.g121f0
- [PATCH] frexp-nolibm-tests: include required test-frexp.h,
Jim Meyering <=