bug-gnucobol
[Top][All Lists]
Advanced

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

[open-cobol-list] [OpenCOBOL 0.33] run: 32 33 34 35 46 47 73 74 77 86 87


From: vince coen
Subject: [open-cobol-list] [OpenCOBOL 0.33] run: 32 33 34 35 46 47 73 74 77 86 87 93 94 103 failed
Date: Tue, 6 Feb 2007 16:05:41 +0000
User-agent: KMail/1.9.4

Hello Roger;

I have installed the latest version of OC on my Mandriva 2007.0 based Intel 
E6600 system. On running the tests using  'make check > check.log 
2>check.err' I get the following errors:

[from check.err]
ERROR: All 155 tests were run,
14 failed unexpectedly.
ERROR: All 155 tests were run,
14 failed unexpectedly.
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

[from check.log]
But note that the report of 'run tests' is produced twice!

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 155 tests were run,
14 failed unexpectedly.

## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
OpenCOBOL 0.33 test suite: Run Tests test groups:

 NUM: FILENAME:LINE      TEST-GROUP-NAME
      KEYWORDS

  32: misc.at:46         LOCAL-STORAGE
  33: misc.at:84         EXTERNAL data item
  34: misc.at:123        EXTERNAL AS data item
  35: misc.at:165        cobcrun validation
  46: misc.at:423        Dynamic call with static linking
  47: misc.at:446        CALL m1. CALL m2. CALL m1.
  73: misc.at:1237       Sticky LINKAGE
  74: misc.at:1284       COB_PRE_LOAD test
  77: misc.at:1353       CALL with OMITTED parameter
  86: extensions.at:333  CALL USING file-name
  87: extensions.at:374  CALL unusual program-id.
  93: extensions.at:587  NUMBER-OF-CALL-PARAMETERS
  94: extensions.at:637  PROCEDURE DIVISION USING BY ...
 103: return-code.at:46  RETURN-CODE passing

## ---------------------- ##
## Detailed failed tests. ##     ..... But only the first one ...........
## ---------------------- ##

32. misc.at:46: testing ...
misc.at:72: ${COMPILE_MODULE} callee.cob
misc.at:73: ${COMPILE} -o prog caller.cob
misc.at:79: ./prog
--- /dev/null   2007-02-03 01:20:45.164186250 +0000
+++ /home/vince/cobolcompiler-sources/open-cobol-0.33/tests/run.dir/at-stderr   
2007-02-06 15:40:21.000000000 +0000
@@ -0,0 +1 @@
+caller.cob:5: libcob: ./callee.so: undefined symbol: cob_source_line
--- -   2007-02-06 15:40:21.423077000 +0000
+++ /home/vince/cobolcompiler-sources/open-cobol-0.33/tests/run.dir/at-stdout   
2007-02-06 15:40:21.000000000 +0000
@@ -1,5 +1 @@
-WRK-X = abc
-LCL-X = abc
-WRK-X = 000
-LCL-X = abc
 
misc.at:79: exit code was 1, expected 0


NOTE that the error undefined symbol: cob_source_line is a common error.

Also running tests in cobol85 I get as a summary:

address@hidden cobol85]$ cat summary.log
Module  programs executed error crash  details
------  -------- -------- ----- -----  -------
NC            92       92     0     0  4363,0,6,11/4380
SM            15       12     0     0  288,3,3,1/295
IC            24        0     3    21  0,0,0,0/0
SQ            81       81     0     0  512,0,6,81/599
RL            32       32     0     0  1827,0,5,0/1832
IX            39       39     0     0  507,0,1,0/508
ST            39       39     0     0  278,0,0,0/278
IF            42       42     0     0  732,0,0,0/732
------  -------- -------- ----- -----  -------
Total        364      337     3    21

And a diff log:



�3,21c3,21
< IC101A.CBL      5    5    0       0       0 OK
< IC103A.CBL     10   10    0       0       0 OK
< IC106A.CBL     14   14    0       0       0 OK
< IC108A.CBL      9    9    0       0       0 OK
< IC112A.CBL      3    3    0       0       0 OK
< IC114A.CBL      3    3    0       0       0 OK
< IC116M.CBL      1    1    0       0       0 OK
< IC201A.CBL     11   11    0       0       0 OK
< IC203A.CBL     21   21    0       0       0 OK
< IC207A.CBL     11   11    0       0       0 OK
< IC209A.CBL      4    4    0       0       0 OK
< IC213A.CBL      3    3    0       0       0 OK
< IC216A.CBL      2    2    0       0       0 OK
< IC222A.CBL     16   16    0       0       0 OK
< IC223A.CBL     11   11    0       0       0 OK
< IC224A.CBL     44   44    0       0       0 OK
< IC225A.CBL     36   36    0       0       0 OK
< IC226A.CBL      4    4    0       0       0 OK
< IC227A.CBL     23   19    0       4       0 OK
---
> IC101A.CBL    ***** execute error *****
> IC103A.CBL    ***** execute error *****
> IC106A.CBL    ***** execute error *****
> IC108A.CBL    ***** execute error *****
> IC112A.CBL    ***** execute error *****
> IC114A.CBL    ***** execute error *****
> IC116M.CBL    ***** execute error *****
> IC201A.CBL    ***** execute error *****
> IC203A.CBL    ***** execute error *****
> IC207A.CBL    ***** execute error *****
> IC209A.CBL    ***** execute error *****
> IC213A.CBL    ***** execute error *****
> IC216A.CBL    ***** execute error *****
> IC222A.CBL    ***** execute error *****
> IC223A.CBL    ***** execute error *****
> IC224A.CBL    ***** execute error *****
> IC225A.CBL    ***** execute error *****
> IC226A.CBL    ***** execute error *****
> IC227A.CBL    ***** execute error *****
25,26c25,26
< IC235A.CBL     12   12    0       0       0 OK
< IC237A.CBL      1    1    0       0       0 OK
---
> IC235A.CBL    ***** execute error *****
> IC237A.CBL    ***** execute error *****
29,31c29
< Total         244  240    0       4       0
< %           100.0 98.4  0.0     1.6     0.0
< 
---
> Total           0    0    0       0       0
33c31
< Successfully executed: 21 (87.50%)
---
> Successfully executed:  0 ( 0.00%)
35c33
< Execute error:          0 ( 0.00%)
---
> Execute error:         21 (87.50%)
diff summary.txt summary.log
5c5
< IC            24       21     3     0  240,0,4,0/244
---
> IC            24        0     3    21  0,0,0,0/0
12c12
< Total        364      358     3     0
---
> Total        364      337     3    21




Any ideas?

Vince.


reply via email to

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