Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
90670e1b
Commit
90670e1b
authored
Nov 19, 2014
by
Maxime Perrotin
Browse files
Fix typo when generating a shared library
parent
ee7e5222
Changes
2
Hide whitespace changes
Inline
Side-by-side
AdaGenerator.py
View file @
90670e1b
...
...
@@ -332,8 +332,8 @@ package {process_name} is'''.format(process_name=process_name,
param_spec
=
''
if
'type'
in
signal
:
typename
=
type_name
(
signal
[
'type'
])
param_spec
=
u
'({pName}: access {sort}
)'
.
format
(
pName
=
param_name
,
sort
=
typename
)
param_spec
=
u
'({pName}: access {sort}
; Size: Integer)'
\
.
format
(
pName
=
param_name
,
sort
=
typename
)
ads_template
.
append
(
u
'-- Required interface "'
+
signal
[
'name'
]
+
'"'
)
if
simu
:
# When generating a shared library, we need a callback mechanism
...
...
@@ -341,7 +341,7 @@ package {process_name} is'''.format(process_name=process_name,
.
format
(
signal
[
'name'
],
param_spec
))
ads_template
.
append
(
'pragma Convention(Convention => C,'
' Entity => {}_T);'
.
format
(
signal
[
'name'
]))
ads_template
.
append
(
'{sig} : {sig}_T;
size: Integer
'
ads_template
.
append
(
'{sig} : {sig}_T;'
.
format
(
sig
=
signal
[
'name'
]))
ads_template
.
append
(
'procedure Register_{sig}(Callback: {sig}_T);'
.
format
(
sig
=
signal
[
'name'
]))
...
...
tests/regression/test-debug/simu.sh
View file @
90670e1b
...
...
@@ -9,5 +9,5 @@ cd simu
aadl2glueC.py DataView.aadl orchestrator_interface.aadl
asn2dataModel.py
-toPython
dataview-uniq.asn
make
-f
Makefile.python
echo
"errCodes=
$(
python
$(
taste-config
--prefix
)
/share/asn1-editor/
errCode
.py
./dataview-uniq.h
)
"
>>
datamodel.py
LD_LIBRARY_PATH
=
.
taste
_
gui
-l
echo
"errCodes=
$(
taste-asn1-
errCode
s
./dataview-uniq.h
)
"
>>
datamodel.py
LD_LIBRARY_PATH
=
.
taste
-
gui
-l
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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