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
kazoo
Commits
ee4a271f
Commit
ee4a271f
authored
Jul 20, 2021
by
Maxime Perrotin
Browse files
Call separate regression script
parent
a8a9d344
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/Demo_ABB_Opengeode/Makefile
View file @
ee4a271f
...
@@ -13,10 +13,7 @@ c: test-parse-c # Polyorb_HI_C output
...
@@ -13,10 +13,7 @@ c: test-parse-c # Polyorb_HI_C output
cp
lift_model/
*
work/lift_model/SIMULINK/src
cp
lift_model/
*
work/lift_model/SIMULINK/src
make
-C
work
make
-C
work
# Test the MSC converter tool and execute the MSC scenario
# Test the MSC converter tool and execute the MSC scenario
cp
MSC_TestCase.msc work/binaries/user_GUI
./regression.sh
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
test-parse-c
:
clean-c
$(KAZOO)
-p
--gw
\
$(KAZOO)
-p
--gw
\
...
...
test/Demo_ABB_Opengeode/regression.sh
0 → 100755
View file @
ee4a271f
#!/bin/bash
cp
MSC_TestCase.msc work/binaries/user_GUI
cd
work/binaries/user_GUI
taste-msc2py MSC_TestCase.msc
../demo &
PID
=
$!
echo
$PID
python3 ./MSC_TestCase.py
||
(
kill
$PID
&&
echo
'TEST CASE FAILED'
&&
exit
1
||
echo
'FAILED killing demo'
)
kill
$PID
Write
Preview
Markdown
is supported
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