Skip to content

Commit

Permalink
Import LSP tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nberth committed Sep 15, 2023
1 parent 1b0c432 commit 3900ea2
Show file tree
Hide file tree
Showing 48 changed files with 2,151 additions and 34 deletions.
85 changes: 55 additions & 30 deletions .drom
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ version:0.9.0

# hash of toml configuration files
# used for generation of all files
48927d80102a3921577afcc15fb1d969:.
306a162bd34aef4c3753c84e38852da6:.
# end context for .

# begin context for .github/workflows/workflow.yml
# file .github/workflows/workflow.yml
5e6a732ee2859a2a1051d6ff9ca00cf9:.github/workflows/workflow.yml
fc10b0887fb072e04e5bcbdd5a0c6668:.github/workflows/workflow.yml
# end context for .github/workflows/workflow.yml

# begin context for .gitignore
Expand All @@ -30,7 +30,7 @@ d00f73c835ae4a1589d55ebda4ab381b:CHANGES.md

# begin context for Makefile
# file Makefile
65cc05cba8ef1ae01505eeee2168c932:Makefile
86f0208a874473207a92c1e552fa9cb5:Makefile
# end context for Makefile

# begin context for README.md
Expand Down Expand Up @@ -80,67 +80,67 @@ c8281f46ba9a11d0b61bc8ef67eaa357:docs/style.css

# begin context for dune-project
# file dune-project
355eec9ea4e5f41b281eeb1ad9fdb005:dune-project
69659cb561ea7a5fbe7c54ac41297836:dune-project
# end context for dune-project

# begin context for opam/cobol_ast.opam
# file opam/cobol_ast.opam
c4f04adcb1fdfeae6c4c116716a50f79:opam/cobol_ast.opam
ec5c2eceed94689d89cb57acb7ba70a9:opam/cobol_ast.opam
# end context for opam/cobol_ast.opam

# begin context for opam/cobol_common.opam
# file opam/cobol_common.opam
f7be66b45891545323c32c334f4a9b34:opam/cobol_common.opam
7fdae3e0d7ba510cb09c43cbf86d482b:opam/cobol_common.opam
# end context for opam/cobol_common.opam

# begin context for opam/cobol_config.opam
# file opam/cobol_config.opam
502615c63850d0561a1fdc12742abe28:opam/cobol_config.opam
1708e29f87b61476a786f030837cbcc5:opam/cobol_config.opam
# end context for opam/cobol_config.opam

# begin context for opam/cobol_data.opam
# file opam/cobol_data.opam
a40db244980ce0f20ed6029d3613c69d:opam/cobol_data.opam
fea158982cf75a9547f3ef0d352851cb:opam/cobol_data.opam
# end context for opam/cobol_data.opam

# begin context for opam/cobol_indent.opam
# file opam/cobol_indent.opam
9fba7024c8916051df7aa44e20fea1c1:opam/cobol_indent.opam
149fbfd39c68757f141ba98b614b9b5e:opam/cobol_indent.opam
# end context for opam/cobol_indent.opam

# begin context for opam/cobol_lsp.opam
# file opam/cobol_lsp.opam
cc200b60ab1a488aa6e2277963597432:opam/cobol_lsp.opam
30120bee2b9a602fdecec129bf2cd782:opam/cobol_lsp.opam
# end context for opam/cobol_lsp.opam

# begin context for opam/cobol_parser.opam
# file opam/cobol_parser.opam
6516dc8bcfb5af8b3cb7ee29e5a4649f:opam/cobol_parser.opam
e20b6d94b7638ca8bf1b1ed68291f39b:opam/cobol_parser.opam
# end context for opam/cobol_parser.opam

# begin context for opam/cobol_preproc.opam
# file opam/cobol_preproc.opam
4b563136f022c0354e2dbfa0c56ce90a:opam/cobol_preproc.opam
e5f0e7bc592f5e31540cafe106fba453:opam/cobol_preproc.opam
# end context for opam/cobol_preproc.opam

# begin context for opam/cobol_typeck.opam
# file opam/cobol_typeck.opam
cda6b61f14077793c7b1d901fe8956b9:opam/cobol_typeck.opam
b20e3376e11aab21f6a68cf7082b0593:opam/cobol_typeck.opam
# end context for opam/cobol_typeck.opam

# begin context for opam/ebcdic_lib.opam
# file opam/ebcdic_lib.opam
dc1020a31ed90a83a337c95c27a94246:opam/ebcdic_lib.opam
57afdedc9df0af27a627b4d769f6f913:opam/ebcdic_lib.opam
# end context for opam/ebcdic_lib.opam

# begin context for opam/interop-js-stubs.opam
# file opam/interop-js-stubs.opam
d76d644f5363b79c9befa582cdcaab09:opam/interop-js-stubs.opam
8e63107a8753774ac9da20a83d62102a:opam/interop-js-stubs.opam
# end context for opam/interop-js-stubs.opam

# begin context for opam/node-js-stubs.opam
# file opam/node-js-stubs.opam
d1718b85ada6fb99b2dd82dae6b9534e:opam/node-js-stubs.opam
a75883b8f6964b189bd09fba55d02ba6:opam/node-js-stubs.opam
# end context for opam/node-js-stubs.opam

# begin context for opam/package-json.opam
Expand All @@ -150,67 +150,77 @@ dcf0ebaa8b12787df9efcaa0ce8cbbe5:opam/package-json.opam

# begin context for opam/polka-js-stubs.opam
# file opam/polka-js-stubs.opam
ba0b2be6fba59f550f44c3a304c0f4cc:opam/polka-js-stubs.opam
2903b520d3f8efe71dea84ef5ce81b49:opam/polka-js-stubs.opam
# end context for opam/polka-js-stubs.opam

# begin context for opam/ppx_cobcflags.opam
# file opam/ppx_cobcflags.opam
ba782c63d2f135a814fd05727ba4c8e7:opam/ppx_cobcflags.opam
01ebe086e2774dc55643ae9998f119dc:opam/ppx_cobcflags.opam
# end context for opam/ppx_cobcflags.opam

# begin context for opam/pretty.opam
# file opam/pretty.opam
d73eea9a4c770fc30eff6a149520f8cf:opam/pretty.opam
ea407d3a5a5dcb71eba31fcc9615027b:opam/pretty.opam
# end context for opam/pretty.opam

# begin context for opam/superbol-free.opam
# file opam/superbol-free.opam
6b0be7a6c240b89c59ac8dffd8e0947a:opam/superbol-free.opam
f5b27455d30e42f94791f0968addc0e5:opam/superbol-free.opam
# end context for opam/superbol-free.opam

# begin context for opam/superbol-studio-oss.opam
# file opam/superbol-studio-oss.opam
73086859c292388b297ff23144822425:opam/superbol-studio-oss.opam
# end context for opam/superbol-studio-oss.opam

# begin context for opam/superbol-vscode-extension.opam
# file opam/superbol-vscode-extension.opam
38d272283b51b83690fa806b0868b764:opam/superbol-vscode-extension.opam
# end context for opam/superbol-vscode-extension.opam

# begin context for opam/superbol-vscode-platform.opam
# file opam/superbol-vscode-platform.opam
4a4d0c79bd785e5141207e4cf2fcc25c:opam/superbol-vscode-platform.opam
ca7992e93086d642b5f99bf45f8106d7:opam/superbol-vscode-platform.opam
# end context for opam/superbol-vscode-platform.opam

# begin context for opam/superbol_free_lib.opam
# file opam/superbol_free_lib.opam
f61852a8af4b9b60a488a1f92e2ff7ec:opam/superbol_free_lib.opam
888a7dbb5c0bb96da593f0bc6b3c8717:opam/superbol_free_lib.opam
# end context for opam/superbol_free_lib.opam

# begin context for opam/superbol_testutils.opam
# file opam/superbol_testutils.opam
d371610a1877addf208f1a71cb60872e:opam/superbol_testutils.opam
# end context for opam/superbol_testutils.opam

# begin context for opam/vscode-debugadapter.opam
# file opam/vscode-debugadapter.opam
db3bed4b95b8d0e415ed80cab8a14600:opam/vscode-debugadapter.opam
25217490ea71687bd0c2667f7bf2ae23:opam/vscode-debugadapter.opam
# end context for opam/vscode-debugadapter.opam

# begin context for opam/vscode-debugprotocol.opam
# file opam/vscode-debugprotocol.opam
33805f388804a5f500714d064065ff16:opam/vscode-debugprotocol.opam
9fff3d351291aed5f046b1fc6c914176:opam/vscode-debugprotocol.opam
# end context for opam/vscode-debugprotocol.opam

# begin context for opam/vscode-js-stubs.opam
# file opam/vscode-js-stubs.opam
864671fd24729ac3a57950866dbf8c98:opam/vscode-js-stubs.opam
66c5073dea90f40cd6f609da93f770af:opam/vscode-js-stubs.opam
# end context for opam/vscode-js-stubs.opam

# begin context for opam/vscode-json.opam
# file opam/vscode-json.opam
28321ac33387f4d6aecca7028cdeaa48:opam/vscode-json.opam
0756f72e5c71f1d987f7708f0fbc4e6c:opam/vscode-json.opam
# end context for opam/vscode-json.opam

# begin context for opam/vscode-languageclient-js-stubs.opam
# file opam/vscode-languageclient-js-stubs.opam
a1c17810cd51e0bde571b7dd9f5ca577:opam/vscode-languageclient-js-stubs.opam
a6e3111bcd9763fba6e8255a6dc2ce2e:opam/vscode-languageclient-js-stubs.opam
# end context for opam/vscode-languageclient-js-stubs.opam

# begin context for opam/vscode-package-json.opam
# file opam/vscode-package-json.opam
f30db7a6f59dea549001a9d434b93c48:opam/vscode-package-json.opam
5ff243a84c54077695ad5ab968c5e4c3:opam/vscode-package-json.opam
# end context for opam/vscode-package-json.opam

# begin context for scripts/after.sh
Expand Down Expand Up @@ -295,7 +305,7 @@ f4bbb4a41a8b3b39f19a4fc62a5f4841:sphinx/license.rst

# begin context for src/lsp/cobol_data/dune
# file src/lsp/cobol_data/dune
81bbf8b89cb2c2065539f6c083343849:src/lsp/cobol_data/dune
7d01cb2c52deab141e4a1c0517a4bb3b:src/lsp/cobol_data/dune
# end context for src/lsp/cobol_data/dune

# begin context for src/lsp/cobol_data/version.mlt
Expand All @@ -315,7 +325,7 @@ f4bbb4a41a8b3b39f19a4fc62a5f4841:sphinx/license.rst

# begin context for src/lsp/cobol_lsp/dune
# file src/lsp/cobol_lsp/dune
957f078deb602f8e0114c8abcc771abf:src/lsp/cobol_lsp/dune
f5b5ba58f2a9ef21787bfca4f4268580:src/lsp/cobol_lsp/dune
# end context for src/lsp/cobol_lsp/dune

# begin context for src/lsp/cobol_lsp/version.mlt
Expand Down Expand Up @@ -403,6 +413,21 @@ b9a14c96cce8e365e1d7494d078d73fe:src/lsp/superbol-free/linking_flags.sh
940d29cde7f16cd0916ed1d5f9c41154:src/lsp/superbol_free_lib/version.mlt
# end context for src/lsp/superbol_free_lib/version.mlt

# begin context for src/testing/superbol_testutils/dune
# file src/testing/superbol_testutils/dune
7750c38b7b159782010b6ff0beaacab2:src/testing/superbol_testutils/dune
# end context for src/testing/superbol_testutils/dune

# begin context for src/testing/superbol_testutils/index.mld
# file src/testing/superbol_testutils/index.mld
9d7338b8da226419559c6db54ea6c9e4:src/testing/superbol_testutils/index.mld
# end context for src/testing/superbol_testutils/index.mld

# begin context for src/testing/superbol_testutils/version.mlt
# file src/testing/superbol_testutils/version.mlt
940d29cde7f16cd0916ed1d5f9c41154:src/testing/superbol_testutils/version.mlt
# end context for src/testing/superbol_testutils/version.mlt

# begin context for src/vscode/interop-js-stubs/dune
# file src/vscode/interop-js-stubs/dune
707a0383f1e544fb37662db29a4f14ad:src/vscode/interop-js-stubs/dune
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- run: opam pin add . -y --no-action

- run: opam depext -y superbol-vscode-platform polka-js-stubs interop-js-stubs node-js-stubs vscode-js-stubs vscode-languageclient-js-stubs vscode-package-json vscode-json vscode-debugadapter vscode-debugprotocol superbol-free superbol_free_lib cobol_common cobol_parser ebcdic_lib cobol_lsp ppx_cobcflags pretty cobol_config cobol_ast cobol_indent cobol_preproc cobol_data cobol_typeck
- run: opam depext -y superbol-vscode-platform polka-js-stubs interop-js-stubs node-js-stubs vscode-js-stubs vscode-languageclient-js-stubs vscode-package-json vscode-json vscode-debugadapter vscode-debugprotocol superbol-free superbol_free_lib cobol_common cobol_parser ebcdic_lib cobol_lsp ppx_cobcflags pretty cobol_config cobol_ast cobol_indent cobol_preproc cobol_data cobol_typeck superbol_testutils
# if: steps.cache-opam.outputs.cache-hit != 'true'

- run: opam install -y opam/*.opam --deps-only --with-test
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ all: build
build:
./scripts/before.sh build
opam exec -- dune build @install
./scripts/copy-bin.sh superbol-vscode-platform polka-js-stubs interop-js-stubs node-js-stubs vscode-js-stubs vscode-languageclient-js-stubs vscode-package-json vscode-json vscode-debugadapter vscode-debugprotocol superbol-free superbol_free_lib cobol_common cobol_parser ebcdic_lib cobol_lsp ppx_cobcflags pretty cobol_config cobol_ast cobol_indent cobol_preproc cobol_data cobol_typeck
./scripts/copy-bin.sh superbol-vscode-platform polka-js-stubs interop-js-stubs node-js-stubs vscode-js-stubs vscode-languageclient-js-stubs vscode-package-json vscode-json vscode-debugadapter vscode-debugprotocol superbol-free superbol_free_lib cobol_common cobol_parser ebcdic_lib cobol_lsp ppx_cobcflags pretty cobol_config cobol_ast cobol_indent cobol_preproc cobol_data cobol_typeck superbol_testutils
./scripts/after.sh build

build-deps:
Expand Down
8 changes: 8 additions & 0 deletions drom.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ skip = ["@test", "@ocamlformat", "@ocp-indent", "README.md", "sphinx/about.rst",
[dependencies]

# project-wide tools dependencies (not for package-specific deps)
[tools]
menhir = "<20230608"
[tools.alcotest]
for-test = true
[tools.ocamlformat]
for-test = true
[tools.odoc]
Expand Down Expand Up @@ -192,3 +196,7 @@ dir = "src/lsp/cobol_data"
[[package]]
dir = "src/lsp/cobol_typeck"
# edit 'src/lsp/cobol_lsp/package.toml' for package-specific options

[[package]]
dir = "src/testing/superbol_testutils"
# edit 'src/testing/superbol_testutils/package.toml' for package-specific options
Loading

0 comments on commit 3900ea2

Please sign in to comment.