Skip to content

Commit

Permalink
Merge pull request #527 from ejgallego/fix_cram_test_opam
Browse files Browse the repository at this point in the history
[build] [test] Fix CRAM tests on OPAM files
  • Loading branch information
ejgallego authored Jul 7, 2023
2 parents 1d78fa6 + b15cbbf commit 504d9da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ test: build test/server/node_modules
cd test/server && npm test

.PHONY: test-compiler
test-compiler: build
OCAMLPATH=_build/install/default/lib:$$OCAMLPATH FCC_TEST=true dune runtest
test-compiler:
dune runtest

.PHONY: fmt format
fmt format:
Expand Down
2 changes: 2 additions & 0 deletions test/compiler/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
(deps
(source_tree proj1)
(source_tree proj2)
; For the plugins to be built
(package coq-lsp)
%{bin:fcc}))
1 change: 1 addition & 0 deletions test/compiler/run.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
General tests for the Flèche Compiler

Describe the project
$ export FCC_TEST=true
$ fcc --root proj1
[message] Configuration loaded from Command-line arguments
- coqlib is at: [TEST_PATH]
Expand Down

0 comments on commit 504d9da

Please sign in to comment.