Newer
Older
OPT: -json-compilation-database @PTEST_DIR@ -print
OPT: @PTEST_DIR@/jcdb2.c -json-compilation-database @PTEST_DIR@/with_arguments.json -print
MODULE: @PTEST_NAME@
OPT: -json-compilation-database @PTEST_DIR@/with_arguments.json -no-autoload-plugins
MODULE:
EXECNOW: LOG list_files.res LOG list_files.err share/analysis-scripts/list_files.py @PTEST_DIR@/compile_commands_working.json > @PTEST_DIR@/result/list_files.res 2> @PTEST_DIR@/result/list_files.err
EXECNOW: LOG logic-pp-include.res LOG logic-pp-include.err @frama-c@ -json-compilation-database @PTEST_DIR@/logic-pp-include @PTEST_DIR@/logic-pp-include/no-stdio.c -print > @PTEST_DIR@/result/logic-pp-include.res 2> @PTEST_DIR@/result/logic-pp-include.err
#include <stdio.h>
#ifdef TOUNDEF
#error TOUNDEF must be undefined by the compilation database
#endif
int main () {
char *s = DOUBLE_SINGLE("a ");
#ifndef __FRAMAC__
printf("%s\n", s); // for GCC debugging
#endif
return MACRO_FOR_INCR(TEST); }