unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Guile 2.0.6 - some tests fail
@ 2012-10-04  9:12 Jan Synacek
  2012-10-06 10:55 ` Mark H Weaver
  0 siblings, 1 reply; 12+ messages in thread
From: Jan Synacek @ 2012-10-04  9:12 UTC (permalink / raw)
  To: guile-devel

Hello list,

when I run 'make check', some guile tests fail and I'm not sure why [1, 2].

[1] http://jsynacek.fedorapeople.org/guile/check-guile.log
[2] http://jsynacek.fedorapeople.org/guile/check-guile-fails.log (only FAILs)

Cheers,
-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-04  9:12 Guile 2.0.6 - some tests fail Jan Synacek
@ 2012-10-06 10:55 ` Mark H Weaver
  2012-10-08  6:40   ` Jan Synacek
                     ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Mark H Weaver @ 2012-10-06 10:55 UTC (permalink / raw)
  To: Jan Synacek; +Cc: guile-devel

Jan Synacek <jsynacek@redhat.com> writes:
> when I run 'make check', some guile tests fail and I'm not sure why [1, 2].
>
> [1] http://jsynacek.fedorapeople.org/guile/check-guile.log
> [2] http://jsynacek.fedorapeople.org/guile/check-guile-fails.log (only FAILs)

Quoting from [2] (but rearranging the order somewhat):

> XFAIL: chars.test: basic char handling: comparisons: char=? #\A #\a
> XFAIL: chars.test: basic char handling: comparisons: char=? #\A #\B
> XFAIL: chars.test: basic char handling: comparisons: char=? #\B #\A
> XFAIL: chars.test: basic char handling: comparisons: char<? #\A #\A
> XFAIL: chars.test: basic char handling: comparisons: char<? #\B #\A
> XFAIL: chars.test: basic char handling: comparisons: char<=? #\B #\A
> XFAIL: chars.test: basic char handling: comparisons: char>? #\A #\A
> XFAIL: chars.test: basic char handling: comparisons: char>? #\A #\a
> XFAIL: chars.test: basic char handling: comparisons: char>? #\A #\B
> XFAIL: chars.test: basic char handling: comparisons: char>=? #\A #\a
> XFAIL: chars.test: basic char handling: comparisons: char>=? #\A #\B
> XFAIL: chars.test: basic char handling: comparisons: char-ci=? #\A #\B
> XFAIL: chars.test: basic char handling: comparisons: char-ci=? #\B #\A
> XFAIL: chars.test: basic char handling: comparisons: char-ci<? #\A #\A
> XFAIL: chars.test: basic char handling: comparisons: char-ci<? #\A #\a
> XFAIL: chars.test: basic char handling: comparisons: char-ci<? #\B #\A
> XFAIL: chars.test: basic char handling: comparisons: char-ci<=? #\B #\A
> XFAIL: chars.test: basic char handling: comparisons: char-ci>? #\A #\A
> XFAIL: chars.test: basic char handling: comparisons: char-ci>? #\A #\a
> XFAIL: chars.test: basic char handling: comparisons: char-ci>? #\A #\B
> XFAIL: chars.test: basic char handling: comparisons: char-ci>=? #\A #\B

These are not failures in Guile itself, but rather inappropriate uses of
'expect-fail' in test cases where #f is the expected result.  You
needn't worry about them, and I have fixed these test cases on the
stable-2.0 branch.

> XFAIL: eval.test: map: documented?
> XFAIL: eval.test: define set procedure-name: procedure-with-setter
> XFAIL: goops.test: defining classes: define-class: bad init-thunk
> XFAIL: list.test: append!: wrong argument: improper list and empty list
> XFAIL: list.test: append!: wrong argument: improper list and list
> XFAIL: list.test: append!: wrong argument: list, improper list and list
> XFAIL: list.test: append!: wrong argument: circular list and empty list
> XFAIL: list.test: append!: wrong argument: circular list and list
> XFAIL: list.test: append!: wrong argument: list, circular list and list

These are expected failures, i.e. reminders to Guile developers to
improve the implementation.  I just fixed the first three 'append!'
cases (checking for improper lists) on the stable-2.0 branch, and will
look into fixing the others at some point, but you needn't worry about
them.

> FAIL: ftw.test: file-system-fold: test-suite (never enter)
> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
> FAIL: ftw.test: scandir: no select
> FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9

These are genuine problems that most users haven't run into AFAIK, and
we should try to find the underlying cause.  Obviously they are all
filesystem related, so the first question that comes to mind is: What
filesystem type is your Guile source directory stored on?  Can you think
of anything else unusual about your system that might affect filesystem
behavior?

Thanks very much for bringing these problems to our attention.

     Mark



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-06 10:55 ` Mark H Weaver
@ 2012-10-08  6:40   ` Jan Synacek
  2012-10-09 21:40   ` Ludovic Courtès
  2012-10-09 21:41   ` Ludovic Courtès
  2 siblings, 0 replies; 12+ messages in thread
From: Jan Synacek @ 2012-10-08  6:40 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guile-devel

On 10/06/2012 12:55 PM, Mark H Weaver wrote:
> Jan Synacek <jsynacek@redhat.com> writes:
>> when I run 'make check', some guile tests fail and I'm not sure why [1, 2].
>>
>> [1] http://jsynacek.fedorapeople.org/guile/check-guile.log
>> [2] http://jsynacek.fedorapeople.org/guile/check-guile-fails.log (only FAILs)
> 
> Quoting from [2] (but rearranging the order somewhat):
> 
>> XFAIL: chars.test: basic char handling: comparisons: char=? #\A #\a
>> XFAIL: chars.test: basic char handling: comparisons: char=? #\A #\B
>> XFAIL: chars.test: basic char handling: comparisons: char=? #\B #\A
>> XFAIL: chars.test: basic char handling: comparisons: char<? #\A #\A
>> XFAIL: chars.test: basic char handling: comparisons: char<? #\B #\A
>> XFAIL: chars.test: basic char handling: comparisons: char<=? #\B #\A
>> XFAIL: chars.test: basic char handling: comparisons: char>? #\A #\A
>> XFAIL: chars.test: basic char handling: comparisons: char>? #\A #\a
>> XFAIL: chars.test: basic char handling: comparisons: char>? #\A #\B
>> XFAIL: chars.test: basic char handling: comparisons: char>=? #\A #\a
>> XFAIL: chars.test: basic char handling: comparisons: char>=? #\A #\B
>> XFAIL: chars.test: basic char handling: comparisons: char-ci=? #\A #\B
>> XFAIL: chars.test: basic char handling: comparisons: char-ci=? #\B #\A
>> XFAIL: chars.test: basic char handling: comparisons: char-ci<? #\A #\A
>> XFAIL: chars.test: basic char handling: comparisons: char-ci<? #\A #\a
>> XFAIL: chars.test: basic char handling: comparisons: char-ci<? #\B #\A
>> XFAIL: chars.test: basic char handling: comparisons: char-ci<=? #\B #\A
>> XFAIL: chars.test: basic char handling: comparisons: char-ci>? #\A #\A
>> XFAIL: chars.test: basic char handling: comparisons: char-ci>? #\A #\a
>> XFAIL: chars.test: basic char handling: comparisons: char-ci>? #\A #\B
>> XFAIL: chars.test: basic char handling: comparisons: char-ci>=? #\A #\B
> 
> These are not failures in Guile itself, but rather inappropriate uses of
> 'expect-fail' in test cases where #f is the expected result.  You
> needn't worry about them, and I have fixed these test cases on the
> stable-2.0 branch.
> 
>> XFAIL: eval.test: map: documented?
>> XFAIL: eval.test: define set procedure-name: procedure-with-setter
>> XFAIL: goops.test: defining classes: define-class: bad init-thunk
>> XFAIL: list.test: append!: wrong argument: improper list and empty list
>> XFAIL: list.test: append!: wrong argument: improper list and list
>> XFAIL: list.test: append!: wrong argument: list, improper list and list
>> XFAIL: list.test: append!: wrong argument: circular list and empty list
>> XFAIL: list.test: append!: wrong argument: circular list and list
>> XFAIL: list.test: append!: wrong argument: list, circular list and list
> 
> These are expected failures, i.e. reminders to Guile developers to
> improve the implementation.  I just fixed the first three 'append!'
> cases (checking for improper lists) on the stable-2.0 branch, and will
> look into fixing the others at some point, but you needn't worry about
> them.
> 
>> FAIL: ftw.test: file-system-fold: test-suite (never enter)
>> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
>> FAIL: ftw.test: scandir: no select
>> FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9
> 
> These are genuine problems that most users haven't run into AFAIK, and
> we should try to find the underlying cause.  Obviously they are all
> filesystem related, so the first question that comes to mind is: What
> filesystem type is your Guile source directory stored on?  Can you think
> of anything else unusual about your system that might affect filesystem
> behavior?
> 
> Thanks very much for bringing these problems to our attention.
> 
>      Mark
> 

Thank you for your answer.

I'm running ext4 on an LVM partition. No acls, no funky file permissions. I've
also tried turning selinux off, but that didn't help. I've gathered some
additional info about my filesystem [3]. Other than that, I can't think of
anything else that could be wrong/special in any way. If there's more info that
you need, just let me know.

[3] http://jsynacek.fedorapeople.org/guile/fs.info

Thank you,
-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-06 10:55 ` Mark H Weaver
  2012-10-08  6:40   ` Jan Synacek
@ 2012-10-09 21:40   ` Ludovic Courtès
  2012-10-09 21:41   ` Ludovic Courtès
  2 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2012-10-09 21:40 UTC (permalink / raw)
  To: Jan Synacek; +Cc: Mark H Weaver, guile-devel

Hi,

Mark H Weaver <mhw@netris.org> skribis:

>> FAIL: ftw.test: file-system-fold: test-suite (never enter)
>> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
>> FAIL: ftw.test: scandir: no select
>> FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9

Can you try the following patch, then run “./check-guile ftw.test
ports.test”, and send the output?

TIA,
Ludo’, who will definitely add ‘pass-if-equal?’ one of these days.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-06 10:55 ` Mark H Weaver
  2012-10-08  6:40   ` Jan Synacek
  2012-10-09 21:40   ` Ludovic Courtès
@ 2012-10-09 21:41   ` Ludovic Courtès
  2012-10-11  8:43     ` Jan Synacek
  2012-10-15  8:17     ` Jan Synacek
  2 siblings, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2012-10-09 21:41 UTC (permalink / raw)
  To: Jan Synacek; +Cc: Mark H Weaver, guile-devel

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

Hi,

And now with the patch.

Mark H Weaver <mhw@netris.org> skribis:

>> FAIL: ftw.test: file-system-fold: test-suite (never enter)
>> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
>> FAIL: ftw.test: scandir: no select
>> FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9

Can you try the following patch, then run “./check-guile ftw.test
ports.test”, and send the output?

TIA,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1929 bytes --]

diff --git a/test-suite/tests/ftw.test b/test-suite/tests/ftw.test
index 33537d0..a3be1a7 100644
--- a/test-suite/tests/ftw.test
+++ b/test-suite/tests/ftw.test
@@ -189,7 +189,7 @@
           (up     (lambda (n s r) (cons `(up ,n) r)))
           (skip   (lambda (n s r) (cons `(skip ,n) r)))
           (error  (lambda (n s e r) (cons `(error ,n) r))))
-      (equal? (file-system-fold enter? leaf down up skip error '() %test-dir)
+      (equal? (pk 'never-enter (file-system-fold enter? leaf down up skip error '() %test-dir))
               `((skip , %test-dir)))))
 
   (pass-if "test-suite/lib.scm (flat file)"
@@ -200,7 +200,7 @@
           (skip   (lambda (n s r) (cons `(skip ,n) r)))
           (error  (lambda (n s e r) (cons `(error ,n) r)))
           (name   (string-append %test-suite-lib-dir "/lib.scm")))
-      (equal? (file-system-fold enter? leaf down up skip error '() name)
+      (equal? (pk 'flat (file-system-fold enter? leaf down up skip error '() name))
               `((leaf ,name)))))
 
   (pass-if "ENOENT"
@@ -320,7 +320,7 @@
     (not (scandir "/.does-not-exist.")))
 
   (pass-if "no select"
-    (null? (scandir %test-dir (lambda (_) #f)))))
+    (null? (pk 'no-select (scandir %test-dir (lambda (_) #f))))))
 
 ;;; Local Variables:
 ;;; eval: (put 'with-file-tree 'scheme-indent-function 2)
diff --git a/test-suite/tests/ports.test b/test-suite/tests/ports.test
index 613d269..f00e693 100644
--- a/test-suite/tests/ports.test
+++ b/test-suite/tests/ports.test
@@ -1188,7 +1188,7 @@
     (equal? (string-append (assoc-ref %guile-build-info 'top_srcdir)
                            "/module/ice-9/q.scm")
             (with-fluids ((%file-port-name-canonicalization 'absolute))
-              (port-filename (open-input-file (%search-load-path "ice-9/q.scm")))))))
+              (pk 'canon (port-filename (open-input-file (%search-load-path "ice-9/q.scm"))))))))
 
 (delete-file (test-file))
 

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-09 21:41   ` Ludovic Courtès
@ 2012-10-11  8:43     ` Jan Synacek
  2012-10-11 12:43       ` Mark H Weaver
  2012-10-15  8:17     ` Jan Synacek
  1 sibling, 1 reply; 12+ messages in thread
From: Jan Synacek @ 2012-10-11  8:43 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Mark H Weaver, guile-devel

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

----- Original Message -----
> From: "Ludovic Courtès" <ludo@gnu.org>
> To: "Jan Synacek" <jsynacek@redhat.com>
> Cc: "Mark H Weaver" <mhw@netris.org>, guile-devel@gnu.org
> Sent: Tuesday, October 9, 2012 11:41:46 PM
> Subject: Re: Guile 2.0.6 - some tests fail
> 
> Hi,
> 
> And now with the patch.
> 
> Mark H Weaver <mhw@netris.org> skribis:
> 
> >> FAIL: ftw.test: file-system-fold: test-suite (never enter)
> >> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
> >> FAIL: ftw.test: scandir: no select
> >> FAIL: ports.test: %file-port-name-canonicalization: absolute
> >> canonicalization from ice-9
> 
> Can you try the following patch, then run “./check-guile ftw.test
> ports.test”, and send the output?
> 
> TIA,
> Ludo’.
> 
>  

Hello,

I'm sorry for such late responses.

Sure, I will try. I will not have that computer available until the next
monday though..

I also tried the tests (without the patch) on my home laptop and they passed.
I use plain ext4 there, no lvm.

Cheers,
Jan



[-- Attachment #2: Type: text/x-patch, Size: 1929 bytes --]

diff --git a/test-suite/tests/ftw.test b/test-suite/tests/ftw.test
index 33537d0..a3be1a7 100644
--- a/test-suite/tests/ftw.test
+++ b/test-suite/tests/ftw.test
@@ -189,7 +189,7 @@
           (up     (lambda (n s r) (cons `(up ,n) r)))
           (skip   (lambda (n s r) (cons `(skip ,n) r)))
           (error  (lambda (n s e r) (cons `(error ,n) r))))
-      (equal? (file-system-fold enter? leaf down up skip error '() %test-dir)
+      (equal? (pk 'never-enter (file-system-fold enter? leaf down up skip error '() %test-dir))
               `((skip , %test-dir)))))
 
   (pass-if "test-suite/lib.scm (flat file)"
@@ -200,7 +200,7 @@
           (skip   (lambda (n s r) (cons `(skip ,n) r)))
           (error  (lambda (n s e r) (cons `(error ,n) r)))
           (name   (string-append %test-suite-lib-dir "/lib.scm")))
-      (equal? (file-system-fold enter? leaf down up skip error '() name)
+      (equal? (pk 'flat (file-system-fold enter? leaf down up skip error '() name))
               `((leaf ,name)))))
 
   (pass-if "ENOENT"
@@ -320,7 +320,7 @@
     (not (scandir "/.does-not-exist.")))
 
   (pass-if "no select"
-    (null? (scandir %test-dir (lambda (_) #f)))))
+    (null? (pk 'no-select (scandir %test-dir (lambda (_) #f))))))
 
 ;;; Local Variables:
 ;;; eval: (put 'with-file-tree 'scheme-indent-function 2)
diff --git a/test-suite/tests/ports.test b/test-suite/tests/ports.test
index 613d269..f00e693 100644
--- a/test-suite/tests/ports.test
+++ b/test-suite/tests/ports.test
@@ -1188,7 +1188,7 @@
     (equal? (string-append (assoc-ref %guile-build-info 'top_srcdir)
                            "/module/ice-9/q.scm")
             (with-fluids ((%file-port-name-canonicalization 'absolute))
-              (port-filename (open-input-file (%search-load-path "ice-9/q.scm")))))))
+              (pk 'canon (port-filename (open-input-file (%search-load-path "ice-9/q.scm"))))))))
 
 (delete-file (test-file))
 

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-11  8:43     ` Jan Synacek
@ 2012-10-11 12:43       ` Mark H Weaver
  2012-10-15  7:56         ` Jan Synacek
  0 siblings, 1 reply; 12+ messages in thread
From: Mark H Weaver @ 2012-10-11 12:43 UTC (permalink / raw)
  To: Jan Synacek; +Cc: Ludovic Courtès, guile-devel

Hi Jan,

FYI, your email had "Content-Type: multipart/alternative", where one
part was your email's main text (reproduced below) and the other part
was the patch.  This was an improper use of that MIME type, which
suggests that the user agent should normally show only one of the parts.
It caused my user agent (Gnus v5.13) to show only the patch.

"Content-Type: multipart/alternative" is most commonly used to include
both HTML and plain-text variants of the same text within an email.

      Mark


Jan Synacek <jsynacek@redhat.com> writes:
> Hello,
>
> I'm sorry for such late responses.
>
> Sure, I will try. I will not have that computer available until the next
> monday though..
>
> I also tried the tests (without the patch) on my home laptop and they passe=
> d.
> I use plain ext4 there, no lvm.
>
> Cheers,
> Jan



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-11 12:43       ` Mark H Weaver
@ 2012-10-15  7:56         ` Jan Synacek
  0 siblings, 0 replies; 12+ messages in thread
From: Jan Synacek @ 2012-10-15  7:56 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: Ludovic Courtès, guile-devel

Hello Mark,

sorry for the mess. I had to use a webmail interface instead of my usual client
and I'm not sure what happened..

-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat

On 10/11/2012 02:43 PM, Mark H Weaver wrote:
> Hi Jan,
> 
> FYI, your email had "Content-Type: multipart/alternative", where one
> part was your email's main text (reproduced below) and the other part
> was the patch.  This was an improper use of that MIME type, which
> suggests that the user agent should normally show only one of the parts.
> It caused my user agent (Gnus v5.13) to show only the patch.
> 
> "Content-Type: multipart/alternative" is most commonly used to include
> both HTML and plain-text variants of the same text within an email.
> 
>       Mark
> 
> 
> Jan Synacek <jsynacek@redhat.com> writes:
>> Hello,
>>
>> I'm sorry for such late responses.
>>
>> Sure, I will try. I will not have that computer available until the next
>> monday though..
>>
>> I also tried the tests (without the patch) on my home laptop and they passe=
>> d.
>> I use plain ext4 there, no lvm.
>>
>> Cheers,
>> Jan



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-09 21:41   ` Ludovic Courtès
  2012-10-11  8:43     ` Jan Synacek
@ 2012-10-15  8:17     ` Jan Synacek
  2012-10-16 14:28       ` Ludovic Courtès
  1 sibling, 1 reply; 12+ messages in thread
From: Jan Synacek @ 2012-10-15  8:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Mark H Weaver, guile-devel

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

On 10/09/2012 11:41 PM, Ludovic Courtès wrote:
> Hi,
> 
> And now with the patch.
> 
> Mark H Weaver <mhw@netris.org> skribis:
> 
>>> FAIL: ftw.test: file-system-fold: test-suite (never enter)
>>> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
>>> FAIL: ftw.test: scandir: no select
>>> FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9
> 
> Can you try the following patch, then run “./check-guile ftw.test
> ports.test”, and send the output?
> 
> TIA,
> Ludo’.
> 

Hello,

output attached. It seems that the results are the same.

Cheers,

-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat

[-- Attachment #2: guile-tests-patch.out --]
[-- Type: text/plain, Size: 1530 bytes --]

Testing /home/jsynacek/work/1-fedora/guile/guile-2.0.6/meta/guile ... ftw.test ports.test
with GUILE_LOAD_PATH=/home/jsynacek/work/1-fedora/guile/guile-2.0.6/test-suite
Running ftw.test
ERROR: ftw.test: file-system-fold: test-suite - arguments: ((match-error "match" "no matching pattern"))

;;; (never-enter ((error "/test-suite")))
FAIL: ftw.test: file-system-fold: test-suite (never enter)

;;; (flat ((error "/test-suite/test-suite/lib.scm")))
FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
ERROR: ftw.test: file-system-tree: test-suite (never enter) - arguments: ((match-error "match" "no matching pattern"))
ERROR: ftw.test: file-system-tree: test-suite/* - arguments: ((match-error "match" "no matching pattern"))
ERROR: ftw.test: file-system-tree: test-suite (recursive) - arguments: ((match-error "match" "no matching pattern"))
ERROR: ftw.test: scandir: top-srcdir - arguments: ((match-error "match" "no matching pattern"))
ERROR: ftw.test: scandir: test-suite - arguments: ((match-error "match" "no matching pattern"))

;;; (no-select #f)
FAIL: ftw.test: scandir: no select
Running ports.test

;;; (canon "/home/jsynacek/work/1-fedora/guile/guile-2.0.6/module/ice-9/q.scm")
FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9

Totals for this test run:
passes:                 245
failures:               4
unexpected passes:      0
expected failures:      0
unresolved test cases:  0
untested test cases:    0
unsupported test cases: 0
errors:                 6


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-15  8:17     ` Jan Synacek
@ 2012-10-16 14:28       ` Ludovic Courtès
  2012-10-17  6:16         ` Jan Synacek
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2012-10-16 14:28 UTC (permalink / raw)
  To: Jan Synacek; +Cc: Mark H Weaver, guile-devel

Hi Jan,

Jan Synacek <jsynacek@redhat.com> skribis:

> Running ftw.test
> ERROR: ftw.test: file-system-fold: test-suite - arguments: ((match-error "match" "no matching pattern"))
>
> ;;; (never-enter ((error "/test-suite")))
> FAIL: ftw.test: file-system-fold: test-suite (never enter)
>
> ;;; (flat ((error "/test-suite/test-suite/lib.scm")))
> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
> ERROR: ftw.test: file-system-tree: test-suite (never enter) - arguments: ((match-error "match" "no matching pattern"))
> ERROR: ftw.test: file-system-tree: test-suite/* - arguments: ((match-error "match" "no matching pattern"))
> ERROR: ftw.test: file-system-tree: test-suite (recursive) - arguments: ((match-error "match" "no matching pattern"))
> ERROR: ftw.test: scandir: top-srcdir - arguments: ((match-error "match" "no matching pattern"))
> ERROR: ftw.test: scandir: test-suite - arguments: ((match-error "match" "no matching pattern"))
>
> ;;; (no-select #f)
> FAIL: ftw.test: scandir: no select
> Running ports.test
>
> ;;; (canon "/home/jsynacek/work/1-fedora/guile/guile-2.0.6/module/ice-9/q.scm")
> FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9

Could you run “./meta/guile”, and then type the following expressions at
the REPL:

  (assq-ref %guile-build-info 'top_srcdir)
  (canonicalize-path (assq-ref %guile-build-info 'top_srcdir))

TIA,
Ludo’.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-16 14:28       ` Ludovic Courtès
@ 2012-10-17  6:16         ` Jan Synacek
  2012-10-17 13:45           ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Jan Synacek @ 2012-10-17  6:16 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Mark H Weaver, guile-devel

Hello Ludovic,

On 10/16/2012 04:28 PM, Ludovic Courtès wrote:
> Hi Jan,
> 
> Jan Synacek <jsynacek@redhat.com> skribis:
> 
>> Running ftw.test
>> ERROR: ftw.test: file-system-fold: test-suite - arguments: ((match-error "match" "no matching pattern"))
>>
>> ;;; (never-enter ((error "/test-suite")))
>> FAIL: ftw.test: file-system-fold: test-suite (never enter)
>>
>> ;;; (flat ((error "/test-suite/test-suite/lib.scm")))
>> FAIL: ftw.test: file-system-fold: test-suite/lib.scm (flat file)
>> ERROR: ftw.test: file-system-tree: test-suite (never enter) - arguments: ((match-error "match" "no matching pattern"))
>> ERROR: ftw.test: file-system-tree: test-suite/* - arguments: ((match-error "match" "no matching pattern"))
>> ERROR: ftw.test: file-system-tree: test-suite (recursive) - arguments: ((match-error "match" "no matching pattern"))
>> ERROR: ftw.test: scandir: top-srcdir - arguments: ((match-error "match" "no matching pattern"))
>> ERROR: ftw.test: scandir: test-suite - arguments: ((match-error "match" "no matching pattern"))
>>
>> ;;; (no-select #f)
>> FAIL: ftw.test: scandir: no select
>> Running ports.test
>>
>> ;;; (canon "/home/jsynacek/work/1-fedora/guile/guile-2.0.6/module/ice-9/q.scm")
>> FAIL: ports.test: %file-port-name-canonicalization: absolute canonicalization from ice-9
> 
> Could you run “./meta/guile”, and then type the following expressions at
> the REPL:
> 
>   (assq-ref %guile-build-info 'top_srcdir)
>   (canonicalize-path (assq-ref %guile-build-info 'top_srcdir))
> 
> TIA,
> Ludo’.
> 

After seeing this:

scheme@(guile-user)> (assq-ref %guile-build-info 'top_srcdir)
$1 = ""

I realized that I was using a patch that breaks those tests. And that pretty
much conlcudes my problem I guess. The tests all pass on current stable and git
versions.

Thank you for helping me and I'm so sorry for the confusion.

-- 
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Guile 2.0.6 - some tests fail
  2012-10-17  6:16         ` Jan Synacek
@ 2012-10-17 13:45           ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2012-10-17 13:45 UTC (permalink / raw)
  To: Jan Synacek; +Cc: Mark H Weaver, guile-devel

Hi,

Jan Synacek <jsynacek@redhat.com> skribis:

> After seeing this:
>
> scheme@(guile-user)> (assq-ref %guile-build-info 'top_srcdir)
> $1 = ""
>
> I realized that I was using a patch that breaks those tests. And that pretty
> much conlcudes my problem I guess. The tests all pass on current stable and git
> versions.

OK, thanks.

Ludo’.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-10-17 13:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04  9:12 Guile 2.0.6 - some tests fail Jan Synacek
2012-10-06 10:55 ` Mark H Weaver
2012-10-08  6:40   ` Jan Synacek
2012-10-09 21:40   ` Ludovic Courtès
2012-10-09 21:41   ` Ludovic Courtès
2012-10-11  8:43     ` Jan Synacek
2012-10-11 12:43       ` Mark H Weaver
2012-10-15  7:56         ` Jan Synacek
2012-10-15  8:17     ` Jan Synacek
2012-10-16 14:28       ` Ludovic Courtès
2012-10-17  6:16         ` Jan Synacek
2012-10-17 13:45           ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).