Use runtest to run tests

This commit is contained in:
Tom Jack 2019-11-21 12:28:38 -06:00
parent 5ab3bf85e9
commit dbb36e6fdc
4 changed files with 11 additions and 9 deletions

View File

@ -84,7 +84,7 @@ local-dune-job:
script: script:
- scripts/install_vendors_deps.sh - scripts/install_vendors_deps.sh
- scripts/build_ligo_local.sh - scripts/build_ligo_local.sh
- dune build @ligo-test - dune runtest
# Run a docker build without publishing to the registry # Run a docker build without publishing to the registry
build-current-docker-image: build-current-docker-image:

View File

@ -2,4 +2,4 @@
set -e set -e
eval $(opam config env) eval $(opam config env)
dune build @ligo-test dune runtest

View File

@ -10,7 +10,8 @@
;; (flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils )) ;; (flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
) )
(test ;;; TODO test does not test anything, only prints
(modules PartitionMain) ; (test
(libraries union_find) ; (modules PartitionMain)
(name PartitionMain)) ; (libraries union_find)
; (name PartitionMain))

View File

@ -15,6 +15,7 @@
(name runtest_dune_template) (name runtest_dune_template)
(action (diff dune.inc dune.inc.gen))) (action (diff dune.inc dune.inc.gen)))
(alias ;;; for ligo, don't test this
(name runtest) ; (alias
(deps (alias runtest_dune_template))) ; (name runtest)
; (deps (alias runtest_dune_template)))