Skip to content
Snippets Groups Projects
Commit 7d3dc757 authored by Patrick Baudin's avatar Patrick Baudin
Browse files

adds tests/callgraph

parent cd7eabcc
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ force-reconfigure:
##############################################################################
.PHONY: tests clean-tests
TESTS=builtins cil constant_propagation float idct impact libc metrics misc occurrence pdg rte rte_manual scope slicing sparecode syntax test value
TESTS=builtins callgraph cil constant_propagation float idct impact libc metrics misc occurrence pdg rte rte_manual scope slicing sparecode syntax test value
tests: config.sed
find tests -name dune | grep -e "oracle.*/\|result.*/" | xargs --no-run-if-empty rm
dune exec -- ptests/ptests.exe
......
/* run.config
COMMENT: Test option -cg-function-pointers
CMXS: @PTEST_NAME@
OPT: -cg-function-pointers -no-autoload-plugins -load-module eva,@PTEST_DIR@/@PTEST_NAME@.cmxs
OPT: -cg-no-services -cg-function-pointers -no-autoload-plugins -load-module eva,@PTEST_DIR@/@PTEST_NAME@.cmxs
OPT: -cg-no-function-pointers -no-autoload-plugins -load-module eva,@PTEST_DIR@/@PTEST_NAME@.cmxs
OPT: -cg-no-services -cg-no-function-pointers -no-autoload-plugins -load-module eva,@PTEST_DIR@/@PTEST_NAME@.cmxs
MODULE: @PTEST_NAME@.cmxs
OPT: -cg-function-pointers
OPT: -cg-no-services -cg-function-pointers
OPT: -cg-no-function-pointers
OPT: -cg-no-services -cg-no-function-pointers
*/
int (*fptr)(int);
int f(int x) { return x; }
......
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