Files
Adrien Boulanger a13d2e62ee SB04-025: Wrong value for GNATSTUDIO_HOME.
Some tests were using .gps
Another was using the wrong directory.

Change-Id: Ic125e4fc0212da9e5190cc39e3fd12c714f8ff91
2019-11-05 15:27:21 +01:00

20 lines
417 B
Batchfile
Executable File

### Description
## Parse variables in CPP code
if [ "$CPP_TESTING" = "false" ]; then
# do not test cpp
exit 99
fi
gprbuild -q -Pgvd_cpp
list="Gdb Gdb_MI"
#list="Gdb Gdb_Pretty_Printer Gdb_MI"
for gdb in $list; do
rm -rf $GNATSTUDIO_HOME/.gnatstudio/properties.db
rm -rf $GNATSTUDIO_HOME/.gnatstudio/properties.json
$GPS --traceon=MODULE.Debugger_$gdb --load=python:test.py --debug=obj/parse_cpp
done