Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
489f848e
Commit
489f848e
authored
Oct 20, 2015
by
Maxime Perrotin
Browse files
Add simulation script in test-aggregation2
parent
5bff2503
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/regression/test-aggregation2/Makefile
View file @
489f848e
...
@@ -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
test-python
:
$(OPENGEODE)
og.pr
--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
libog.so b~og.o og.o adaasn1rtl.o
-lgnat
#python -c "from ctypes import *; test=CDLL
(
'./libog.so'
)
;
test.liborchestratorinit
()
"
coverage
:
coverage
:
coverage run
-p
$(OPENGEODE)
og.pr
--toAda
coverage run
-p
$(OPENGEODE)
og.pr
--toAda
...
...
tests/regression/test-aggregation2/simu.sh
0 → 100755
View file @
489f848e
#!/bin/bash -e
make test-python
rm
-rf
simu
mkdir
-p
simu
asn2aadlPlus dataview-uniq.asn simu/DataView.aadl
cp
libog.so 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
)
"
>>
datamodel.py
LD_LIBRARY_PATH
=
.
taste-gui
-l
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment