]> code.ossystems Code Review - openembedded-core.git/blob
c7bf635ac7209101789a73f6a778565f948c5a6a
[openembedded-core.git] /
1 Upstream-Status: Inappropriate [debian patch]
2
3 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
4
5 From e52bfcdbaca5dce498678d8f512381e3e39a4066 Mon Sep 17 00:00:00 2001
6 From: Rob Browning <rlb@defaultvalue.org>
7 Date: Sun, 18 Mar 2012 11:40:55 -0500
8 Subject: Mark "Unused modules are removed" gc test as unresolved.
9
10 As per discussion with upstream, mark this test as unresolved since it
11 may produce false negatives, depending on the behavior/timing of the
12 garbage collector.
13 ---
14  test-suite/tests/gc.test |   11 ++++++-----
15  1 files changed, 6 insertions(+), 5 deletions(-)
16
17 diff --git a/test-suite/tests/gc.test b/test-suite/tests/gc.test
18 index a969752..8c8e13e 100644
19 --- a/test-suite/tests/gc.test
20 +++ b/test-suite/tests/gc.test
21 @@ -84,11 +84,13 @@
22        ;; one gc round. not sure why.
23  
24        (maybe-gc-flakiness
25 -       (= (let lp ((i 0))
26 -            (if (guard)
27 -                (lp (1+ i))
28 -                i))
29 -          total))))
30 +       (or (= (let lp ((i 0))
31 +                (if (guard)
32 +                    (lp (1+ i))
33 +                    i))
34 +              total)
35 +           (throw 'unresolved)))))
36 +
37  
38    (pass-if "Lexical vars are collectable"
39      (let ((l (compile