tests: Add more `maybe-gc-flakiness'.
authorLudovic Courtès <ludo@gnu.org>
Fri, 22 Mar 2013 21:24:27 +0000 (22:24 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 22 Mar 2013 21:24:27 +0000 (22:24 +0100)
Fixes <http://bugs.gnu.org/14001>.
Reported by Dennis Clarke <dclarke@blastwave.org>.

* test-suite/tests/gc.test ("gc")["Lexical vars are collectable"]: Wrap
  in `maybe-gc-flakiness'.

test-suite/tests/gc.test

index a969752..04f3539 100644 (file)
@@ -1,6 +1,6 @@
 ;;;; gc.test --- test guile's garbage collection    -*- scheme -*-
 ;;;; Copyright (C) 2000, 2001, 2004, 2006, 2007, 2008, 2009,
-;;;;   2011, 2012 Free Software Foundation, Inc.
+;;;;   2011, 2012, 2013 Free Software Foundation, Inc.
 ;;;;
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
                  (guardian))
               ;; Prevent the optimizer from propagating f.
               #:opts '(#:partial-eval? #f))))
-      (equal? l '(foo)))))
+      (maybe-gc-flakiness (equal? l '(foo))))))