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
df673bee
Commit
df673bee
authored
Nov 25, 2015
by
Maxime Perrotin
Browse files
Fix makefile
parent
c4bae792
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/regression/test-provided1/Makefile
View file @
df673bee
...
...
@@ -33,7 +33,7 @@ test-python:
$(GNATBIND)
-n
-Llibog
og
$(GNATMAKE)
-c
-fPIC
-gnat2012
b~og.adb
$(CC)
-shared
-fPIC
-o
libog.so b~og.o og.o adaasn1rtl.o taste_dataview.o
-lgnat
python
-c
"from ctypes import *; test=CDLL('./libog.so'); test.liboginit();
test.og_for_a(); test.og_for_b(); test.og_for_a(); test.og_for_b()
"
python
-c
"from ctypes import *; test=CDLL('./libog.so'); test.liboginit();"
coverage
:
...
...
tests/regression/test-provided1/og.pr
View file @
df673bee
...
...
@@ -18,19 +18,19 @@ signal telemetry(tm_type);
PROCESS og;
STATE AGGREGATION wait;
SUBSTRUCTURE
STATE m
ode
_manager;
STATE m
emory
_manager;
SUBSTRUCTURE
/* CIF START (
3
59,
108
), (70, 35) */
/* CIF START (
2
59,
60
), (70, 35) */
START;
/* CIF NEXTSTATE (
3
31, 1
58
), (126, 35) */
/* CIF NEXTSTATE (
2
31, 1
10
), (126, 35) */
NEXTSTATE wait_for_tc;
/* CIF STATE (
3
31, 1
58
), (126, 35) */
/* CIF STATE (
2
31, 1
10
), (126, 35) */
STATE wait_for_tc;
/* CIF PROVIDED (
170, 213
), (45
1
, 35) */
PROVIDED got_tc=true and present(tc!content)=
change_mode
;
/* CIF PROCEDURECALL (
282
, 2
63
), (2
26
, 35) */
CALL writeln('
Change Mode
');
/* CIF NEXTSTATE (
360, 313
), (70, 35) */
/* CIF PROVIDED (
64, 165
), (45
9
, 35) */
PROVIDED got_tc=true and present(tc!content)=
patch_memory
;
/* CIF PROCEDURECALL (
178
, 2
15
), (2
31
, 35) */
CALL writeln('
Patch Memory
');
/* CIF NEXTSTATE (
258, 265
), (70, 35) */
NEXTSTATE -;
ENDSTATE;
ENDSUBSTRUCTURE;
...
...
@@ -50,30 +50,30 @@ signal telemetry(tm_type);
NEXTSTATE -;
ENDSTATE;
ENDSUBSTRUCTURE;
STATE m
emory
_manager;
STATE m
ode
_manager;
SUBSTRUCTURE
/* CIF START (
2
59,
60
), (70, 35) */
/* CIF START (
3
59,
108
), (70, 35) */
START;
/* CIF NEXTSTATE (
2
31, 1
10
), (126, 35) */
/* CIF NEXTSTATE (
3
31, 1
58
), (126, 35) */
NEXTSTATE wait_for_tc;
/* CIF STATE (
2
31, 1
10
), (126, 35) */
/* CIF STATE (
3
31, 1
58
), (126, 35) */
STATE wait_for_tc;
/* CIF PROVIDED (
64, 165
), (45
9
, 35) */
PROVIDED got_tc=true and present(tc!content)=
patch_memory
;
/* CIF PROCEDURECALL (
178
, 2
15
), (2
31
, 35) */
CALL writeln('
Patch Memory
');
/* CIF NEXTSTATE (
258, 265
), (70, 35) */
/* CIF PROVIDED (
170, 213
), (45
1
, 35) */
PROVIDED got_tc=true and present(tc!content)=
change_mode
;
/* CIF PROCEDURECALL (
282
, 2
63
), (2
26
, 35) */
CALL writeln('
Change Mode
');
/* CIF NEXTSTATE (
360, 313
), (70, 35) */
NEXTSTATE -;
ENDSTATE;
ENDSUBSTRUCTURE;
/* CIF STATE (3
70, 97
), (1
82
, 35) */
STATE m
emory
_manager;
/* CIF STATE (3
14, 191
), (1
61
, 35) */
STATE m
ode
_manager;
ENDSTATE;
/* CIF STATE (238, 111), (113, 35) */
STATE tc_router;
ENDSTATE;
/* CIF STATE (3
14, 191
), (1
61
, 35) */
STATE m
ode
_manager;
/* CIF STATE (3
70, 97
), (1
82
, 35) */
STATE m
emory
_manager;
ENDSTATE;
ENDSUBSTRUCTURE;
/* CIF TEXT (0, 310), (327, 208) */
...
...
@@ -88,19 +88,22 @@ dcl got_tc Boolean_type;
dcl anything boolean_Type := true;
/* CIF ENDTEXT */
/* CIF START (3
37
, 297), (70, 35) */
/* CIF START (3
51
, 297), (70, 35) */
START;
/* CIF NEXTSTATE (337, 348), (
70
, 35) */
NEXTSTATE
wait
;
/* CIF STATE (
412, 344
), (70, 35) */
/* CIF NEXTSTATE (337, 348), (
99
, 35) */
NEXTSTATE
starting
;
/* CIF STATE (
333, 575
), (70, 35) */
STATE wait;
/* CIF PROVIDED (394, 399), (106, 35) */
ENDSTATE;
/* CIF STATE (485, 344), (99, 35) */
STATE starting;
/* CIF PROVIDED (481, 399), (106, 35) */
PROVIDED anything;
/* CIF TASK (
363
, 449), (168, 35) */
/* CIF TASK (
450
, 449), (168, 35) */
TASK anything := false;
/* CIF PROCEDURECALL (
359
, 499), (177, 35) */
/* CIF PROCEDURECALL (
446
, 499), (177, 35) */
CALL writeln('Lets go');
/* CIF NEXTSTATE (4
12
, 549), (70, 35) */
/* CIF NEXTSTATE (4
99
, 549), (70, 35) */
NEXTSTATE wait;
ENDSTATE;
ENDPROCESS og;
...
...
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