Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
a8a9d344
Commit
a8a9d344
authored
Jul 20, 2021
by
Maxime Perrotin
Browse files
Add MSC test case in Demo_ABB
To ensure the MSC convertor has no regression
parent
afc0137c
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/Demo_ABB_Opengeode/MSC_TestCase.msc
0 → 100644
View file @
a8a9d344
mscdocument Untitled_Document /* MSC AND */;
msg Cabin_Command : (Cabin-button);
msg Floor_Command : (Floor-button);
msg Manual_Control : (Lift-control);
msg Start_Controller : (Start-condition);
msg Housekeeping : (Status);
/* CIF MSCDOCUMENT (0, 0) (1585, 1119) */
mscdocument Untitled_Leaf /* MSC LEAF */;
msc Untitled_MSC;
instance user;
out Start_Controller(nb-of-cycle: 1) to TASTE_System;
in Housekeeping({lift {door-open FALSE, door-closed TRUE, floor-detected FALSE, pos-x 69.999632125}, door door-close}) from TASTE_System;
endinstance;
instance TASTE_System;
in Start_Controller(nb-of-cycle: 1) from user;
out Housekeeping({lift {door-open FALSE, door-closed TRUE, floor-detected FALSE, pos-x 69.999632125}, door door-close}) to user;
endinstance;
endmsc;
endmscdocument;
endmscdocument;
\ No newline at end of file
test/Demo_ABB_Opengeode/Makefile
View file @
a8a9d344
...
...
@@ -12,6 +12,11 @@ c: test-parse-c # Polyorb_HI_C output
cp
controller/controller.pr work/controller/SDL/src
cp
lift_model/
*
work/lift_model/SIMULINK/src
make
-C
work
# Test the MSC converter tool and execute the MSC scenario
cp
MSC_TestCase.msc work/binaries/user_GUI
cd
work/binaries/user_GUI
&&
taste-msc2py MSC_TestCase.msc
&&
../demo &
cd
work/binaries/user_GUI
&&
taste-msc2py MSC_TestCase.msc
&&
python3 ./MSC_TestCase.py
pkill demo
test-parse-c
:
clean-c
$(KAZOO)
-p
--gw
\
...
...
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