Skip to content

Commit bc928bb

Browse files
committed
Remove gcdiff and adjust testsuite
1 parent 5e42162 commit bc928bb

File tree

16 files changed

+121
-1093
lines changed

16 files changed

+121
-1093
lines changed

.github/workflows/windows-msvc.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,18 +182,9 @@ jobs:
182182
sed 's/x64\/Debug/${{ env.ARCHDIR }}\/${{ matrix.target }}/g' atlocal_win > atlocal
183183
autom4te --lang=autotest -I ./testsuite.src ./testsuite.at -o ./testsuite
184184
185-
- name: Build gcdiff
186-
run: |
187-
set PATH="%GITHUB_WORKSPACE%\build_windows\%ARCHDIR%\${{ matrix.target }}";%PATH%
188-
call "%VCVARS%"
189-
cd bin
190-
cobc -x gcdiff.c
191-
192185
- name: Run testsuite
193186
continue-on-error: true
194187
run: |
195-
rem Needed for the testsuite to find gcdiff
196-
set PATH="%GITHUB_WORKSPACE%\bin";%PATH%
197188
rem Needed for now because the paths compiled in have trailing slashes - cl.exe does not like that
198189
set COB_CFLAGS=/I"%GITHUB_WORKSPACE%" /I"%GITHUB_WORKSPACE%\build_windows"
199190
rem Needed so mpir.h can be found

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ ipch
8383
/bin/cobcrun
8484
/bin/cobcrun.1
8585
/bin/cobfile
86-
/bin/gcdiff
8786
/cobc/cobc
8887
/cobc/cobc.1
8988
/cobc/parser.c

AUTHORS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ Distributed under GNU LGPL.
1212
was extracted from GLIB 2.2.2 and modified by Keisuke Nishida
1313
and Roger While. Distributed under GNU LGPL.
1414

15-
* bin/gcdiff.c was written by Ron Norman
16-
1715
* libcob/reportio.c was written by Ron Norman

CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -252,17 +252,3 @@ target_include_directories(cobcrun PUBLIC
252252
)
253253

254254
target_link_libraries(cobcrun cob)
255-
256-
add_executable(gcdiff bin/gcdiff.c)
257-
258-
set_property(TARGET gcdiff PROPERTY RUNTIME_OUTPUT_DIRECTORY bin)
259-
260-
target_include_directories(gcdiff PUBLIC
261-
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
262-
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/cobc>
263-
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/build_windows>
264-
)
265-
266-
target_link_libraries(gcdiff cob)
267-
268-

NOTES

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ C bin/Makefile.am modified here and again for 1396
239239

240240
r1396
241241
--- Merging r1396 into '.':
242-
A bin/gcdiff.c ok
243242

244243
r1398
245244
--- Merging r1398 into '.':
@@ -250,7 +249,6 @@ r1401
250249
U AUTHORS ok
251250
C bin/ChangeLog merged
252251
U bin/cobcrun.c
253-
U bin/gcdiff.c
254252

255253
r1402
256254
--- Merging r1402 into '.':
@@ -261,18 +259,15 @@ r1402
261259
C build_windows/vc8 reverted
262260
C build_windows/vc9 reverted
263261
C build_windows/ChangeLog.txt merged
264-
A build_windows/version_gcdiff.rc ok
265262

266263
r1404
267264
--- Merging r1403 through r1404 into '.':
268265
C bin/ChangeLog
269-
U bin/gcdiff.c
270266
dry-run produced above output, but actual merge showed no conflict.
271267

272268
r1405
273269
--- Merging r1404 through r1405 into '.':
274270
C bin/ChangeLog merged
275-
U bin/gcdiff.c ok
276271

277272
r1410
278273
--- Merging r1410 into '.':

TODO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,6 @@ https://sourceforge.net/p/gnucobol/code/HEAD/tree/external-doc/guide/
202202

203203
7.1 General issues
204204

205-
- Decide what to do about gcdiff, especially under MSVC; replacing with $DIFF should be okay in most cases (possibly adding the -b/--ignore-trailing-space option); few cases require adjustment because of date/time output
206-
207205
- Correctly implement delay-loading under MSVC
208206

209207
- Possibly drop usage of external cobxref
@@ -218,6 +216,8 @@ https://sourceforge.net/p/gnucobol/code/HEAD/tree/external-doc/guide/
218216

219217
- Testsuite: run the DB and IX modules multiple times if configured for multiple backends
220218

219+
- Testuite: the report produced by test LINAGE and LINAGE-COUNTER sample (run_file.at) as trailing spaces in trunk, while it does not in 3.x; for now we use sed to strip the trailing spaces
220+
221221
7.2 CHECKMEs, TODOs and #if-0'ed code
222222

223223
- Investigate the two CHECKMEs about bdb_close_cursor in fbdb.c:ix_bdb_write_internal

bin/ChangeLog

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
2025-05-20 David Declerck <[email protected]>
3+
4+
* gcdiff.c: removed as no longer needed
5+
26
2024-12-09 Simon Sobisch <[email protected]>
37

48
* Makefile.am (cobconfig.1, cobcrun.1): add description using help2man -n
@@ -366,7 +370,7 @@
366370
then you can switch easily.
367371

368372

369-
Copyright 2004-2008,2010,2012,2014-2024 Free Software Foundation, Inc.
373+
Copyright 2004-2008,2010,2012,2014-2025 Free Software Foundation, Inc.
370374

371375
Copying and distribution of this file, with or without modification, are
372376
permitted provided the copyright notice and this notice are preserved.

bin/Makefile.am

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@
2020
# along with GnuCOBOL. If not, see <https://www.gnu.org/licenses/>.
2121

2222
bin_SCRIPTS = cob-config
23-
bin_PROGRAMS = cobcrun gcdiff cobfile
23+
bin_PROGRAMS = cobcrun cobfile
2424
cobcrun_SOURCES = cobcrun.c
2525
dist_man_MANS = cobcrun.1 cob-config.1
2626
COBCRUN = cobcrun$(EXEEXT)
2727

28-
gcdiff_sources = gcdiff.c
2928
cobfile_sources = cobfile.c
3029

3130
COMMON_LIBS = $(top_builddir)/libcob/libcob.la \
@@ -35,7 +34,6 @@ COMMON_LIBS = $(top_builddir)/libcob/libcob.la \
3534
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)/lib -I$(top_srcdir)/lib
3635
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
3736
cobcrun_LDADD = $(COMMON_LIBS)
38-
gcdiff_LDADD = $(COMMON_LIBS)
3937
cobfile_LDADD =$(COMMON_LIBS)
4038

4139
# Add rules for code-coverage testing, as provided AX_CODE_COVERAGE

0 commit comments

Comments
 (0)