[tests] fc_script: allow scripts to detect test mode
Some scripts use features which cannot or should not be tested (e.g. reliance on an optional external tool); defining PTESTS_TESTING=1 allows these scripts to detect such circumstances and change (slightly) their behavior to avoid non-reproducible oracles.
Showing
- share/analysis-scripts/build.py 2 additions, 0 deletionsshare/analysis-scripts/build.py
- share/analysis-scripts/build_callgraph.py 2 additions, 0 deletionsshare/analysis-scripts/build_callgraph.py
- share/analysis-scripts/estimate_difficulty.py 2 additions, 0 deletionsshare/analysis-scripts/estimate_difficulty.py
- tests/fc_script/build-callgraph.i 1 addition, 1 deletiontests/fc_script/build-callgraph.i
- tests/fc_script/list_functions.i 1 addition, 1 deletiontests/fc_script/list_functions.i
- tests/fc_script/main.c 7 additions, 7 deletionstests/fc_script/main.c
- tests/fc_script/make-wrapper.c 1 addition, 1 deletiontests/fc_script/make-wrapper.c
- tests/fc_script/recursions.i 1 addition, 1 deletiontests/fc_script/recursions.i
Loading
Please register or sign in to comment