Commit 681ec350 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

with python3, tests run on the installed tool

parent 78b95a53
......@@ -208,7 +208,7 @@ def flatten(process, sep=u'_'):
for dcl in state.variables.keys():
rename_everything(state.content, dcl, prefix + dcl)
state.variables = {prefix + key: state.variables.pop(key)
for key in state.variables.keys()}
for key in list(state.variables.keys())}
process.variables.update(state.variables)
# Update return transition indices
......
OPENGEODE=../../../opengeode/opengeode.py
OPENGEODE=opengeode
ASN1SCC=`which asn1.exe`
CC=gcc
LLC=llc
......
......@@ -26,7 +26,7 @@ test-qgen-gt-c:
$(TESTQGEN_GT_C) $(ROOT_MODEL)
test-ada:
mkdir -p src && cd src && ../$(OPENGEODE) ../toto.pr -g --toAda && \
mkdir -p src && cd src && $(OPENGEODE) ../toto.pr -g --toAda && \
cp ../test_toto.ada test_toto.adb && \
mono $(ASN1SCC) -Ada -typePrefix asn1Scc -equal ../dataview.asn
mkdir -p obj && cd obj && gnat make -O$(O) ../src/test_toto && \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment