bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mes] ARM mes on wip-arm - Other test failures


From: Danny Milosavljevic
Subject: [bug-mes] ARM mes on wip-arm - Other test failures
Date: Mon, 11 Mar 2019 23:41:07 +0100

So on the newest wip-arm (commit 05751c2763fed3865f6a764c4d6d0d184bcc1083), 
after the following patch, only the following test are failing with the default 
configuration:

diff --git a/build-aux/build.sh.in b/build-aux/build.sh.in
index 4f3891d7..c0c4cffb 100644
--- a/build-aux/build.sh.in
+++ b/build-aux/build.sh.in
@@ -53,10 +53,11 @@ debug=
 
 CFLAGS="
 $debug
+-marm
 "
 
 if test $mes_libc = mes; then
-    CFLASG="$CFLAGS
+    CFLAGS="$CFLAGS
 -nostdinc
 -nostdlib
 -fno-builtin
diff --git a/build-aux/check.sh.in b/build-aux/check.sh.in
index 6732910e..0979c575 100644
--- a/build-aux/check.sh.in
+++ b/build-aux/check.sh.in
@@ -27,9 +27,9 @@ if $courageous; then
     set +e
 fi
 
-CFLAGS=
+CFLAGS=-marm
 if test $mes_libc = mes; then
-    CFLAGS="
+    CFLAGS="${CFLAGS}
 -nostdinc
 -nostdlib
 -fno-builtin
diff --git a/mes/module/mes/scm.mes b/mes/module/mes/scm.mes
index 27dc960c..5505898a 100644
--- a/mes/module/mes/scm.mes
+++ b/mes/module/mes/scm.mes
@@ -264,7 +264,7 @@
   (let* ((radix (if (null? rest) 10 (car rest)))
          (sign (if (< n 0) '(#\-) '())))
     (let loop ((n (abs n)) (lst '()))
-      (let* ((i (remainder n radix))
+      (let* ((i (abs (remainder n radix)))
              (lst (cons (integer->char (+ i (if (< i 10) (char->integer #\0)
                                                 (- (char->integer #\a) 10)))) 
lst))
              (n (quotient n radix)))

FAIL: lib/tests/scaffold/60-math.c [invalid argument]
FAIL: lib/tests/stdio/70-printf-simple.c
FAIL: lib/tests/stdio/70-printf.c
FAIL: lib/tests/scaffold/76-pointer-arithmetic.c [has no case for __arm__]
FAIL: lib/tests/scaffold/7k-for-each-elem.c [has no case for __arm__]
FAIL: lib/tests/scaffold/7l-struct-any-size-array-simple.c [not sure that ARM 
supports packed structs in the first place--newer ARM versions should, though.  
What do we need that for?]
FAIL: lib/tests/scaffold/7r-sign-extend.c [a char with value -129 ? Is that 
valid C?  In any case, more fundamental things are broken]
FAIL: lib/tests/setjmp/80-setjmp.c [not implemented for __arm__]
FAIL: lib/tests/scaffold/85-sizeof.c [has no case for __arm__]
FAIL: lib/tests/dirent/90-readdir.c [can open nonexistent directory]
FAIL: lib/tests/io/90-stat.c [no case for __arm__]
FAIL: lib/tests/mes/90-dtoab.c [problem with negative floating point numbers]
FAIL: lib/tests/signal/90-signal.c [signal handler doesn't get called]
XFAIL: lib/tests/stdio/90-sprintf.c

Are any of those known-to-fail?

Attachment: pgpK7YGlOjH2d.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]