Skip to content
Snippets Groups Projects
Commit 960e83b3 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[tests] add missing dependencies in jcdb test

parent 4c37d673
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
MODULE: @PTEST_NAME@ MODULE: @PTEST_NAME@
OPT: -json-compilation-database %{dep:@PTEST_DIR@/with_arguments.json} OPT: -json-compilation-database %{dep:@PTEST_DIR@/with_arguments.json}
MODULE: MODULE:
DEPS: file_without_main.c
EXECNOW: LOG list_files.res LOG list_files.err %{bin:frama-c-script} list-files %{dep:@PTEST_DIR@/compile_commands_working.json} > @PTEST_RESULT@/list_files.res 2> @PTEST_RESULT@/list_files.err EXECNOW: LOG list_files.res LOG list_files.err %{bin:frama-c-script} list-files %{dep:@PTEST_DIR@/compile_commands_working.json} > @PTEST_RESULT@/list_files.res 2> @PTEST_RESULT@/list_files.err
*/ */
......
/* run.config /* run.config
NOFRAMAC: NOFRAMAC:
EXECNOW: LOG subdir.res LOG subdir.err (cd @PTEST_DIR@/subdir1 && @frama-c@ -add-symbolic-path $PWD/..:PWD/.. -json-compilation-database ../subdir.json ../subdir.c) > @PTEST_RESULT@/subdir.res 2> @PTEST_RESULT@/subdir.err DEPS: subdir1/header.h subdir2/included.h subdir.json subdir.c included2.h
EXECNOW: LOG subdir.res LOG subdir.err (cd subdir1 && @frama-c@ -add-symbolic-path $PWD/..:PWD/.. -json-compilation-database ../subdir.json ../subdir.c) > @PTEST_RESULT@/subdir.res 2> @PTEST_RESULT@/subdir.err
*/ */
// this test must be run with PWD in subdir1 // this test must be run with PWD in subdir1
......
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