Skip to content
Snippets Groups Projects
Commit 09401e70 authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl:tests] Reactivate failed CI tests for dev config

The following tests failed on CI due to Nix's GCC hardening:
- `bts/bts1398.c`
- `full-mmodel/addrOf.i`
- `memory/constructor.c`
- `memory/hidden_malloc.c`
- `memory/local_goto.c`

They have been reactivated in this commit.
parent 5fa17e09
No related branches found
No related tags found
No related merge requests found
Showing
with 10 additions and 30 deletions
/* run.config_dev
COMMENT: issue with printf on CI
DONTRUN:
*/
/* run.config_ci
COMMENT: variadic function call
*/
......
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
[kernel:annot:missing-spec] tests/bts/bts1398.c:16: Warning:
[kernel:annot:missing-spec] tests/bts/bts1398.c:12: Warning:
Neither code nor specification for function printf, generating default assigns from the prototype
/* run.config_dev
COMMENT: issue with function pointers on CI
DONTRUN:
*/
/* run.config_ci
COMMENT: addrOf
*/
......
......@@ -19,7 +19,7 @@ void f(void)
int __gen_e_acsl_initialized;
__gen_e_acsl_initialized = __e_acsl_initialized((void *)p,sizeof(int));
__e_acsl_assert(__gen_e_acsl_initialized,"Assertion","f",
"\\initialized(p)","tests/full-mmodel/addrOf.i",14);
"\\initialized(p)","tests/full-mmodel/addrOf.i",10);
}
/*@ assert \initialized(p); */ ;
__e_acsl_delete_block((void *)(& p));
......@@ -82,7 +82,7 @@ int main(void)
__e_acsl_full_init((void *)(& x));
f();
__e_acsl_assert(& x == & x,"Assertion","main","&x == &x",
"tests/full-mmodel/addrOf.i",20);
"tests/full-mmodel/addrOf.i",16);
/*@ assert &x ≡ &x; */ ;
__e_acsl_full_init((void *)(& __retres));
__retres = 0;
......
/* run.config_dev
COMMENT: issue with printf on CI
DONTRUN:
*/
/* run.config_ci
COMMENT: bts #2405. Memory not initialized for code executed before main.
*/
......
/* run.config_dev
COMMENT: issue on CI
DONTRUN:
*/
/* run.config_ci
COMMENT: Malloc executed by a library function
*/
......
/* run.config_dev
COMMENT: issue with printf on CI
DONTRUN:
*/
/* run.config_ci
COMMENT: Check that deleting statements before goto jumps takes into
COMMENT: account variable declarations given via local inits
......
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
[kernel:annot:missing-spec] tests/memory/constructor.c:20: Warning:
[kernel:annot:missing-spec] tests/memory/constructor.c:16: Warning:
Neither code nor specification for function printf, generating default assigns from the prototype
......@@ -54,7 +54,7 @@ int main(int argc, char const **argv)
__gen_e_acsl_valid = __e_acsl_valid((void *)(& a),sizeof(int),
(void *)(& a),(void *)0);
__e_acsl_assert(__gen_e_acsl_valid,"Assertion","main","\\valid(&a)",
"tests/memory/local_goto.c",29);
"tests/memory/local_goto.c",25);
}
/*@ assert \valid(&a); */ ;
if (t == 2) {
......@@ -71,7 +71,7 @@ int main(int argc, char const **argv)
__gen_e_acsl_valid_2 = __e_acsl_valid((void *)(& b),sizeof(int),
(void *)(& b),(void *)0);
__e_acsl_assert(__gen_e_acsl_valid_2,"Assertion","main","\\valid(&b)",
"tests/memory/local_goto.c",40);
"tests/memory/local_goto.c",36);
}
/*@ assert \valid(&b); */ ;
printf(__gen_e_acsl_literal_string_2,t,__gen_e_acsl_literal_string_4);
......
[kernel:typing:implicit-function-declaration] tests/memory/hidden_malloc.c:15: Warning:
[kernel:typing:implicit-function-declaration] tests/memory/hidden_malloc.c:11: Warning:
Calling undeclared function realpath. Old style K&R code?
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
[kernel:annot:missing-spec] tests/memory/hidden_malloc.c:15: Warning:
[kernel:annot:missing-spec] tests/memory/hidden_malloc.c:11: Warning:
Neither code nor specification for function realpath, generating default assigns from the prototype
[eva:invalid-assigns] tests/memory/hidden_malloc.c:15:
[eva:invalid-assigns] tests/memory/hidden_malloc.c:11:
Completely invalid destination for assigns clause *((char *)x_1 + (0 ..)).
Ignoring.
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
[kernel:annot:missing-spec] tests/memory/local_goto.c:41: Warning:
[kernel:annot:missing-spec] tests/memory/local_goto.c:37: Warning:
Neither code nor specification for function printf, generating default assigns from the prototype
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