Commit 72b430a5 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add test rule in makefile

parent 6b8b42f5
...@@ -6,5 +6,8 @@ install: ...@@ -6,5 +6,8 @@ install:
clean: clean:
@rm -rf build dist *.egg-info properties/*.pyc @rm -rf build dist *.egg-info properties/*.pyc
test:
properties/properties.py -s ../test/properties test/*.pr
cd test && asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal && gnatmake -c orchestrator_stop_conditions.adb
.PHONY: all install clean .PHONY: all install clean test
...@@ -78,6 +78,7 @@ def parse_input_files(pr_files, ppty_file): ...@@ -78,6 +78,7 @@ def parse_input_files(pr_files, ppty_file):
process.transitions = [] process.transitions = []
process.composite_states = [] process.composite_states = []
process.mapping = {state:[] for state in process.mapping.keys()} process.mapping = {state:[] for state in process.mapping.keys()}
process.processName = '{}_stop_conditions'.format(process.processName)
idx = 0 idx = 0
for each in stop_conditions: for each in stop_conditions:
proc = opengeode.ogAST.Procedure() proc = opengeode.ogAST.Procedure()
......
Markdown is supported
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