[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] small bugs in testsuite (patches = cvs diff's included
From: |
Thomas Biehler |
Subject: |
[open-cobol-list] small bugs in testsuite (patches = cvs diff's included) |
Date: |
Wed Feb 11 08:09:43 2004 |
User-agent: |
KMail/1.4.3 |
hi keisuke
i have found two small bugs in the testsuite:
First: the test 8 from extension = "CALL USING file-name" fails
if you use the "--prefix" option from configure!
(inlude <libcob.h> search only in "standard dir's"!)
here is the "cvs diff extension.at":
=========================
RCS file: /cvsroot/open-cobol/open-cobol/tests/extension.src/extensions.at,v
retrieving revision 1.9
diff -r1.9 extensions.at
243c243
< #include <libcob.h>
---
> #include "libcob.h"
272c272
< AT_CHECK([${CC} -shared -o setfilename.so setfilename.c])
---
> AT_CHECK([${CC} -I${abs_top_srcdir} -shared -o setfilename.so
setfilename.c])
Second: the "testscript-O" scripts are needing the
current working directory (".") is in the $PATH
(= not any user do this (a little paranoid security issue!))
here is the "cvs diff *-O" from the tests subdirectory:
========================================
Index: cobol2002-run-O
===================================================================
RCS file: /cvsroot/open-cobol/open-cobol/tests/cobol2002-run-O,v
retrieving revision 1.1
diff -r1.1 cobol2002-run-O
3c3
< COBOL_FLAGS='-fruntime-inlining' cobol2002-run
---
> COBOL_FLAGS='-fruntime-inlining' ./cobol2002-run
Index: data-rep-O
===================================================================
RCS file: /cvsroot/open-cobol/open-cobol/tests/data-rep-O,v
retrieving revision 1.1
diff -r1.1 data-rep-O
3c3
< COBOL_FLAGS='-fruntime-inlining' data-rep
---
> COBOL_FLAGS='-fruntime-inlining' ./data-rep
Index: extension-O
===================================================================
RCS file: /cvsroot/open-cobol/open-cobol/tests/extension-O,v
retrieving revision 1.1
diff -r1.1 extension-O
3c3
< COBOL_FLAGS='-fruntime-inlining' extension
---
> COBOL_FLAGS='-fruntime-inlining' ./extension
Thomas
- [open-cobol-list] small bugs in testsuite (patches = cvs diff's included),
Thomas Biehler <=