Skip to content
Snippets Groups Projects
Commit 65d7d1d7 authored by BRUN Lelio's avatar BRUN Lelio
Browse files

first try to integrate regression tests

parent f1896ffa
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ variables:
# value of any variable defined here.
DUNE_BUILD_TARGETS: "@all"
DUNE_TEST_TARGETS: "" #"@runtest"
DUNE_TEST_TARGETS: "@tests/regression_tests/runtest" #"@runtest"
DUNE_DOC_TARGETS: "" #"@doc"
# If you make one of these variables empty (: ""),
# the corresponding build step will be skipped.
......@@ -104,8 +104,12 @@ build:
# See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27496 for more details.
artifacts:
when: always
paths:
- artifacts/$OCAML_COMPILER
- tests/regression_tests/test_results.xml
reports:
junit: _build/default/tests/regression_tests/test_results.xml
# run this job only if a 'dune-project' file exists;
# (In particular, this will not run in your "pages" branch
......
[submodule "tests"]
path = tests
url = https://cavale.enseeiht.fr/git/lustrec-tests
url = https://gitlab.isae-supaero.fr/lustrec/lustrec-tests.git
......@@ -38,20 +38,3 @@
(site
(lustrec testgen)))
(files share/FindLustre.cmake share/helpful_functions.cmake))
(rule
(alias ctest)
(deps
(alias default)
(source_tree tests/regression_tests))
(action
(chdir
tests/regression_tests
(progn
(run
cmake
"-DSUBPROJ=\"unstable\""
"-DLUSTRE_INCLUDE_DIR=%{project_root}/include"
"-DLUSTRE_COMPILER=%{bin:lustrec}"
.)
(run ctest -D Experimental -R "COMPIL_LUS|MAKE|BIN|DIFF" -E LUSTRET)))))
Subproject commit 0ac53ee0fbfc6ba8261ad8ab15173bd58c4d043c
Subproject commit eaca19f11a4a52e21cc831f597a72b655e416529
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment