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
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
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
./regression.sh
test-parse-c
:
clean-c
$(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
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