[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 05/14: tests: Avoid statprof test failure on systems wit
From: |
Andy Wingo |
Subject: |
[Guile-commits] 05/14: tests: Avoid statprof test failure on systems without 'setitimer'. |
Date: |
Wed, 1 Mar 2017 15:21:04 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit 109d22165077fdfb9984ad63347df09129401ac8
Author: Ludovic Courtès <address@hidden>
Date: Sat Feb 11 22:00:18 2017 +0100
tests: Avoid statprof test failure on systems without 'setitimer'.
Partly fixes <http://bugs.gnu.org/25463>.
Reported by address@hidden
* test-suite/tests/statprof.test ("return values"): Wrap in
'when-implemented'.
---
test-suite/tests/statprof.test | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/test-suite/tests/statprof.test b/test-suite/tests/statprof.test
index 8965a03..a597f31 100644
--- a/test-suite/tests/statprof.test
+++ b/test-suite/tests/statprof.test
@@ -47,17 +47,18 @@
(pass-if-equal "return values"
'(42 77)
- (call-with-values
- (lambda ()
- (with-output-to-port (%make-void-port "w")
- (lambda ()
- (statprof
- (lambda ()
- (let loop ((i 10000))
- (if (zero? i)
- (values 42 77)
- (loop (1- i)))))))))
- list))
+ (when-implemented
+ (call-with-values
+ (lambda ()
+ (with-output-to-port (%make-void-port "w")
+ (lambda ()
+ (statprof
+ (lambda ()
+ (let loop ((i 10000))
+ (if (zero? i)
+ (values 42 77)
+ (loop (1- i)))))))))
+ list)))
(pass-if "statistical sample counts within expected range"
(when-implemented
- [Guile-commits] branch master updated (33944f6 -> 1026a76), Andy Wingo, 2017/03/01
- [Guile-commits] 01/14: build: Check for /gnu/store file names upon "make dist"., Andy Wingo, 2017/03/01
- [Guile-commits] 11/14: tests: Choose a more plausible US English locale name., Andy Wingo, 2017/03/01
- [Guile-commits] 07/14: doc: Fix typo in site packages documentation., Andy Wingo, 2017/03/01
- [Guile-commits] 09/14: i18n: Do not represent zero as "-0"., Andy Wingo, 2017/03/01
- [Guile-commits] 05/14: tests: Avoid statprof test failure on systems without 'setitimer'.,
Andy Wingo <=
- [Guile-commits] 04/14: build: Honor $SOURCE_DATE_EPOCH for the recorded timestamp., Andy Wingo, 2017/03/01
- [Guile-commits] 06/14: doc: Fix typo in keywords documentation., Andy Wingo, 2017/03/01
- [Guile-commits] 10/14: tests: Use 'pass-if-equal' for (ice-9 i18n) tests., Andy Wingo, 2017/03/01
- [Guile-commits] 13/14: i18n: 'number->locale-string' guesses the minimum number of decimals., Andy Wingo, 2017/03/01
- [Guile-commits] 12/14: i18n: Fix corner cases for monetary and number string conversions., Andy Wingo, 2017/03/01
- [Guile-commits] 02/14: build: Compress with lzip too., Andy Wingo, 2017/03/01
- [Guile-commits] 03/14: scandir: Avoid 'stat' calls on each entry., Andy Wingo, 2017/03/01
- [Guile-commits] 08/14: Recognize sh3 as compilation targets, Andy Wingo, 2017/03/01
- [Guile-commits] 14/14: doc: Describe -e (module) on equal footing with (@ ...)., Andy Wingo, 2017/03/01