Skip to content
Snippets Groups Projects
Commit 75d20451 authored by Julien Signoles's avatar Julien Signoles
Browse files

[tests] config ci

parent 628c21d7
No related branches found
No related tags found
No related merge requests found
Showing
with 29 additions and 17 deletions
...@@ -54,7 +54,9 @@ ...@@ -54,7 +54,9 @@
/tests/*.annot /tests/*.annot
/tests/*_DEP /tests/*_DEP
/tests/test_config /tests/test_config
/tests/*/result/* /tests/test_config_ci
/tests/test_config_dev
/tests/*/result*/*
/tests/check/obj/* /tests/check/obj/*
.frama-c .frama-c
tests/ptests_config tests/ptests_config
......
...@@ -181,27 +181,37 @@ PLUGIN_TESTS_DIRS := \ ...@@ -181,27 +181,37 @@ PLUGIN_TESTS_DIRS := \
format \ format \
temporal \ temporal \
special special
# [JS 2019/02/26] deactivate tests 'builtin' as long as setjmp/longjmp is not # [JS 2019/02/26] deactivate tests 'builtin' as long as setjmp/longjmp is not
# supported. # supported.
# builtin \ # builtin
PLUGIN_TESTS_LIB := $(EACSL_PLUGIN_DIR)/tests/print.cmxs
DEV=
ifeq ("$(DEV)","yes")
EACSL_TEST_CONFIG=dev
else
EACSL_TEST_CONFIG:=ci
endif
PLUGIN_PTESTS_OPTS:=-config $(EACSL_TEST_CONFIG)
PLUGIN_TESTS_LIB := $(EACSL_PLUGIN_DIR)/tests/print.ml E_ACSL_TESTS E_ACSL_DEFAULT_TESTS: \
E_ACSL_TESTS: $(EACSL_PLUGIN_DIR)/tests/test_config $(EACSL_PLUGIN_DIR)/tests/ptests_config \
$(EACSL_PLUGIN_DIR)/tests/test_config_$(EACSL_TEST_CONFIG)
E_ACSL_DEFAULT_TESTS: \ $(EACSL_PLUGIN_DIR)/tests/test_config_ci: \
$(EACSL_PLUGIN_DIR)/tests/test_config \ $(EACSL_PLUGIN_DIR)/tests/test_config_ci.in \
$(EACSL_PLUGIN_DIR)/tests/print.cmxs \ $(EACSL_PLUGIN_DIR)/Makefile
$(EACSL_PLUGIN_DIR)/tests/print.cmo $(PRINT_MAKING) $@
$(SED) -e "s|@SEDCMD@|`which sed `|g" $< > $@
$(EACSL_PLUGIN_DIR)/tests/test_config: \ $(EACSL_PLUGIN_DIR)/tests/test_config_dev: \
$(EACSL_PLUGIN_DIR)/tests/test_config.in \ $(EACSL_PLUGIN_DIR)/tests/test_config_dev.in \
$(EACSL_PLUGIN_DIR)/Makefile $(EACSL_PLUGIN_DIR)/Makefile
$(PRINT_MAKING) $@ $(PRINT_MAKING) $@
$(SED) -e "s|@SEDCMD@|`which sed `|g" $< > $@ $(SED) -e "s|@SEDCMD@|`which sed `|g" $< > $@
tests:: $(EACSL_PLUGIN_DIR)/tests/ptests_config \ tests:: $(EACSL_PLUGIN_DIR)/tests/ptests_config
$(EACSL_PLUGIN_DIR)/tests/print.cmxs
clean:: clean::
for d in $(E_ACSL_EXTRA_DIRS); do \ for d in $(E_ACSL_EXTRA_DIRS); do \
......
/* run.config /* run.config_ci
DONTRUN: DONTRUN:
COMMENT: Variables declared in the body of switch statements so far cannot COMMENT: Variables declared in the body of switch statements so far cannot
COMMENT: be tracked COMMENT: be tracked
......
/* run.config /* run.config_ci
COMMENT: arrays COMMENT: arrays
STDOPT: #"-slevel 5" STDOPT: #"-slevel 5"
*/ */
......
/* run.config /* run.config_ci
COMMENT: recursive logic functions COMMENT: recursive logic functions
STDOPT: +"-eva-ignore-recursive-calls" STDOPT: +"-eva-ignore-recursive-calls"
*/ */
......
/* run.config /* run.config_ci
COMMENT: upgrading longlong to GMP COMMENT: upgrading longlong to GMP
STDOPT: +"-eva-ignore-recursive-calls" STDOPT: +"-eva-ignore-recursive-calls"
*/ */
......
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