Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Run other tests
working-directory: tests
run: |
tests=("command-line-options" "data-rep" "i18n_sjis" "jp-compat" "run" "syntax" "cobj-idx" "file-lock" "misc")
tests=("command-line-options" "data-rep" "i18n_sjis" "jp-compat" "run" "syntax" "cobj-idx" "file-lock" "file-lock2" "misc")
for test in "${tests[@]}"; do
./"$test" || true
done
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
- "cobj-idx"
- "misc"
- "file-lock"
- "file-lock2"
os: ["ubuntu:24.04", "almalinux:9", "amazonlinux:2023"]
uses: ./.github/workflows/test-other.yml
with:
Expand All @@ -76,6 +77,7 @@ jobs:
- "syntax"
- "cobj-idx"
- "file-lock"
- "file-lock2"
#- "misc"
os: ["ubuntu:24.04", "almalinux:9", "amazonlinux:2023"]
uses: ./.github/workflows/test-other.yml
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
- "syntax"
- "cobj-idx"
- "file-lock"
- "file-lock2"
- "misc"
os: ["ubuntu:24.04"]
uses: ./.github/workflows/test-other.yml
Expand All @@ -80,7 +81,7 @@ jobs:
- "run"
- "syntax"
- "cobj-idx"
- "file-lock"
- "file-lock2"
#- "misc"
os: ["ubuntu:24.04"]
uses: ./.github/workflows/test-other.yml
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ tests/cobj-idx
tests/misc
tests/run
tests/file-lock
tests/file-lock2
tests/*.log
tests/syntax
tests/cobol85/*/*.class
Expand Down
24 changes: 15 additions & 9 deletions tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ TESTS = syntax \
command-line-options \
cobj-idx \
file-lock \
file-lock2 \
misc
else
TESTS = syntax \
Expand All @@ -43,6 +44,7 @@ TESTS = syntax \
command-line-options \
cobj-idx \
file-lock \
file-lock2 \
misc
endif

Expand Down Expand Up @@ -212,15 +214,18 @@ indexed_lock_DEPENDENCIES = \
file-lock.at \
file-lock.src/lock-file.at \
file-lock.src/access-same-record.at \
file-lock.src/access-different-record.at \
file-lock.src/input-mode.at \
file-lock.src/same-process.at \
file-lock.src/open-start-write-rewrite.at \
file-lock.src/release-lock.at \
file-lock.src/open-input.at \
file-lock.src/lock-mode-clause.at \
file-lock.src/old-file.at \
file-lock.src/lock-mode-automatic.at
file-lock.src/access-different-record.at

indexed_lock2_DEPENDENCIES = \
file-lock2.at \
file-lock2.src/input-mode.at \
file-lock2.src/same-process.at \
file-lock2.src/open-start-write-rewrite.at \
file-lock2.src/release-lock.at \
file-lock2.src/open-input.at \
file-lock2.src/lock-mode-clause.at \
file-lock2.src/old-file.at \
file-lock2.src/lock-mode-automatic.at

misc_DEPENDENCIES = \
misc.src/signed-comp3.at \
Expand Down Expand Up @@ -308,4 +313,5 @@ $(srcdir)/jp-compat: $(jp_compat_DEPENDENCIES)
$(srcdir)/command-line-options: $(command_line_options_DEPENDENCIES)
$(srcdir)/cobj-idx: $(cobj_idx_DEPENDENCIES)
$(srcdir)/file-lock: $(indexed_lock_DEPENDENCIES)
$(srcdir)/file-lock2: $(indexed_lock2_DEPENDENCIES)
$(srcdir)/misc: $(misc_DEPENDENCIES)
31 changes: 22 additions & 9 deletions tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ SUBDIRS = cobol85
@I18N_UTF8_FALSE@ command-line-options \
@I18N_UTF8_FALSE@ cobj-idx \
@I18N_UTF8_FALSE@ file-lock \
@I18N_UTF8_FALSE@ file-lock2 \
@I18N_UTF8_FALSE@ misc

@I18N_UTF8_TRUE@TESTS = syntax \
Expand All @@ -583,6 +584,7 @@ SUBDIRS = cobol85
@I18N_UTF8_TRUE@ command-line-options \
@I18N_UTF8_TRUE@ cobj-idx \
@I18N_UTF8_TRUE@ file-lock \
@I18N_UTF8_TRUE@ file-lock2 \
@I18N_UTF8_TRUE@ misc

syntax_DEPENDENCIES = \
Expand Down Expand Up @@ -751,15 +753,18 @@ indexed_lock_DEPENDENCIES = \
file-lock.at \
file-lock.src/lock-file.at \
file-lock.src/access-same-record.at \
file-lock.src/access-different-record.at \
file-lock.src/input-mode.at \
file-lock.src/same-process.at \
file-lock.src/open-start-write-rewrite.at \
file-lock.src/release-lock.at \
file-lock.src/open-input.at \
file-lock.src/lock-mode-clause.at \
file-lock.src/old-file.at \
file-lock.src/lock-mode-automatic.at
file-lock.src/access-different-record.at

indexed_lock2_DEPENDENCIES = \
file-lock2.at \
file-lock2.src/input-mode.at \
file-lock2.src/same-process.at \
file-lock2.src/open-start-write-rewrite.at \
file-lock2.src/release-lock.at \
file-lock2.src/open-input.at \
file-lock2.src/lock-mode-clause.at \
file-lock2.src/old-file.at \
file-lock2.src/lock-mode-automatic.at

misc_DEPENDENCIES = \
misc.src/signed-comp3.at \
Expand Down Expand Up @@ -1168,6 +1173,13 @@ file-lock.log: file-lock
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
file-lock2.log: file-lock2
@p='file-lock2'; \
b='file-lock2'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
misc.log: misc
@p='misc'; \
b='misc'; \
Expand Down Expand Up @@ -1410,6 +1422,7 @@ $(srcdir)/jp-compat: $(jp_compat_DEPENDENCIES)
$(srcdir)/command-line-options: $(command_line_options_DEPENDENCIES)
$(srcdir)/cobj-idx: $(cobj_idx_DEPENDENCIES)
$(srcdir)/file-lock: $(indexed_lock_DEPENDENCIES)
$(srcdir)/file-lock2: $(indexed_lock2_DEPENDENCIES)
$(srcdir)/misc: $(misc_DEPENDENCIES)

# Tell versions [3.59,3.63) of GNU make to not export all variables.
Expand Down
10 changes: 1 addition & 9 deletions tests/file-lock.at
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,4 @@ AT_INIT([file-lock])

m4_include([lock-file.at])
m4_include([access-same-record.at])
m4_include([access-different-record.at])
m4_include([input-mode.at])
m4_include([same-process.at])
m4_include([open-start-write-rewrite.at])
m4_include([release-lock.at])
m4_include([open-input.at])
m4_include([lock-mode-clause.at])
m4_include([lock-mode-automatic.at])
m4_include([old-file.at])
m4_include([access-different-record.at])
10 changes: 10 additions & 0 deletions tests/file-lock2.at
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
AT_INIT([file-lock2])

m4_include([input-mode.at])
m4_include([same-process.at])
m4_include([open-start-write-rewrite.at])
m4_include([release-lock.at])
m4_include([open-input.at])
m4_include([lock-mode-clause.at])
m4_include([lock-mode-automatic.at])
m4_include([old-file.at])
File renamed without changes.
File renamed without changes.
File renamed without changes.