Commit 489f848e authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add simulation script in test-aggregation2

parent 5bff2503
...@@ -25,6 +25,16 @@ test-llvm: ...@@ -25,6 +25,16 @@ test-llvm:
$(LLC) *.ll $(LLC) *.ll
$(CC) -O$(O) -c *.s $(CC) -O$(O) -c *.s
$(OPENGEODE) --shared
$(ASN1SCC) -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
$(ASN1SCC) -c dataview-uniq.asn -typePrefix asn1Scc -equal
$(GNATMAKE) -O$(O) -gnat2012 -fPIC -c *.adb
$(GNATBIND) -n -Llibog og
$(GNATMAKE) -c -fPIC -gnat2012 b~og.adb
$(CC) -shared -fPIC -o b~og.o og.o adaasn1rtl.o -lgnat
#python -c "from ctypes import *; test=CDLL('./'); test.liborchestratorinit()"
coverage: coverage:
coverage run -p $(OPENGEODE) --toAda coverage run -p $(OPENGEODE) --toAda
#!/bin/bash -e
make test-python
rm -rf simu
mkdir -p simu
asn2aadlPlus dataview-uniq.asn simu/DataView.aadl
cp dataview-uniq.asn *.pr simu
mv *.aadl simu
cd simu
aadl2glueC DataView.aadl orchestrator_interface.aadl
asn2dataModel -toPython dataview-uniq.asn
make -f Makefile.python
echo "errCodes=$(taste-asn1-errCodes ./dataview-uniq.h)" >>
LD_LIBRARY_PATH=. taste-gui -l
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