Commit ee28097d authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

There was no check for -taste-update-data-view exit code. Added.

parent 5a21e508
...@@ -22,7 +22,7 @@ fi ...@@ -22,7 +22,7 @@ fi
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
# Generate code for OpenGEODE function orchestrator # Generate code for OpenGEODE function orchestrator
cd "$SKELS"/orchestrator && opengeode --toAda orchestrator.pr system_structure.pr && cd $OLDPWD cd "$SKELS"/orchestrator && opengeode --toAda orchestrator.pr system_structure.pr && cd $OLDPWD
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f lift_model.zip rm -f lift_model.zip
zip lift_model lift_model/* zip lift_model lift_model/*
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -22,7 +22,7 @@ fi ...@@ -22,7 +22,7 @@ fi
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
cd "$SKELS" && rm -f router.zip && zip router router/* && cd $OLDPWD cd "$SKELS" && rm -f router.zip && zip router router/* && cd $OLDPWD
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -4,7 +4,7 @@ rm -f simple_c_function.zip ...@@ -4,7 +4,7 @@ rm -f simple_c_function.zip
zip simple_c_function simple_c_function/* zip simple_c_function simple_c_function/*
[ ! -z "$CLEANUP" ] && rm -rf binary.* [ ! -z "$CLEANUP" ] && rm -rf binary.*
taste-update-data-view taste-update-data-view || exit 1
# Ada runtime # Ada runtime
assert-builder-ocarina.py \ assert-builder-ocarina.py \
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -43,7 +43,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && { ...@@ -43,7 +43,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
cd "$SKELS" && rm -f simple_c_function.zip && zip simple_c_function simple_c_function/* && cd $OLDPWD cd "$SKELS" && rm -f simple_c_function.zip && zip simple_c_function simple_c_function/* && cd $OLDPWD
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f function0.zip rm -f function0.zip
zip function0 function0/* zip function0 function0/*
......
...@@ -9,7 +9,7 @@ cd .. ...@@ -9,7 +9,7 @@ cd ..
[ ! -z "$CLEANUP" ] && rm -rf binary.linux.pohic/ [ ! -z "$CLEANUP" ] && rm -rf binary.linux.pohic/
taste-update-data-view taste-update-data-view || exit 1
assert-builder-ocarina.py \ assert-builder-ocarina.py \
-f \ -f \
......
...@@ -22,7 +22,7 @@ fi ...@@ -22,7 +22,7 @@ fi
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
# Generate code for OpenGEODE function flight # Generate code for OpenGEODE function flight
cd "$SKELS"/flight && opengeode --toAda flight.pr system_structure.pr && cd $OLDPWD cd "$SKELS"/flight && opengeode --toAda flight.pr system_structure.pr && cd $OLDPWD
......
...@@ -24,7 +24,7 @@ fi ...@@ -24,7 +24,7 @@ fi
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
cd "$SKELS" && rm -f function1.zip && zip function1 function1/* && cd $OLDPWD cd "$SKELS" && rm -f function1.zip && zip function1 function1/* && cd $OLDPWD
......
#!/bin/bash #!/bin/bash
taste-update-data-view taste-update-data-view || exit 1
rm -f a.zip rm -f a.zip
zip a a/* zip a a/*
......
#!/bin/bash #!/bin/bash
taste-update-data-view taste-update-data-view || exit 1
rm -f hello.zip rm -f hello.zip
zip hello hello/* zip hello hello/*
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f f1.zip rm -f f1.zip
zip f1 f1/* zip f1 f1/*
......
...@@ -22,7 +22,7 @@ fi ...@@ -22,7 +22,7 @@ fi
SKELS="Inputs/code/" SKELS="Inputs/code/"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
cd "$SKELS" && rm -f a.zip && zip a a/* && cd $OLDPWD cd "$SKELS" && rm -f a.zip && zip a a/* && cd $OLDPWD
......
#!/bin/bash #!/bin/bash
taste-update-data-view taste-update-data-view || exit 1
cd skels cd skels
rm -f pinger.zip rm -f pinger.zip
......
...@@ -45,7 +45,7 @@ then ...@@ -45,7 +45,7 @@ then
else else
OUTPUTDIR=binary OUTPUTDIR=binary
fi fi
taste-update-data-view taste-update-data-view || exit 1
assert-builder-ocarina.py \ assert-builder-ocarina.py \
--fast \ --fast \
-p \ -p \
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f function0.zip rm -f function0.zip
zip function0 function0/* zip function0 function0/*
......
#!/bin/bash #!/bin/bash
taste-update-data-view taste-update-data-view || exit 1
rm -f a.zip rm -f a.zip
zip a a/* zip a a/*
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f mysyncfunction.zip rm -f mysyncfunction.zip
zip mysyncfunction mysyncfunction/* zip mysyncfunction mysyncfunction/*
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH # C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC # unset USE_POHIC
taste-update-data-view taste-update-data-view || exit 1
if [ -f user_init_pre.sh ] if [ -f user_init_pre.sh ]
then then
...@@ -47,7 +47,7 @@ SKELS="./" ...@@ -47,7 +47,7 @@ SKELS="./"
# Update the data view with local paths # Update the data view with local paths
if [ "$(hostname)" != "taste-build" ] ; then if [ "$(hostname)" != "taste-build" ] ; then
# There is no X server in CI # There is no X server in CI
taste-update-data-view taste-update-data-view || exit 1
fi fi
cd "$SKELS" && rm -f myadablock.zip && zip myadablock myadablock/* && cd $OLDPWD cd "$SKELS" && rm -f myadablock.zip && zip myadablock myadablock/* && cd $OLDPWD
......
...@@ -19,7 +19,7 @@ then ...@@ -19,7 +19,7 @@ then
DEPLOYMENTVIEW=DeploymentView.aadl DEPLOYMENTVIEW=DeploymentView.aadl
fi fi
taste-update-data-view taste-update-data-view || exit 1
SKELS="./" SKELS="./"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f my_c_function.zip rm -f my_c_function.zip
zip my_c_function my_c_function/* zip my_c_function my_c_function/*
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f my_c_function.zip rm -f my_c_function.zip
zip my_c_function my_c_function/* zip my_c_function my_c_function/*
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f function0.zip rm -f function0.zip
zip function0 function0/* zip function0 function0/*
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file. # you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view taste-update-data-view || exit 1
rm -f a.zip rm -f a.zip
zip a a/* zip a a/*
......
#!/bin/bash #!/bin/bash
taste-update-data-view taste-update-data-view || exit 1
rm -f pinger.zip rm -f pinger.zip
zip pinger pinger/* zip pinger pinger/*
......
...@@ -45,7 +45,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && { ...@@ -45,7 +45,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
# Generate code for OpenGEODE function sdl_fct # Generate code for OpenGEODE function sdl_fct
cd "$SKELS"/sdl_fct && opengeode --toAda sdl_fct.pr system_structure.pr && cd $OLDPWD cd "$SKELS"/sdl_fct && opengeode --toAda sdl_fct.pr system_structure.pr && cd $OLDPWD
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts # Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file. # you will have to merge the changes with the newly-created file.
taste-update-data-view taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ] if [ -z "$DEPLOYMENTVIEW" ]
then then
......
...@@ -22,7 +22,7 @@ fi ...@@ -22,7 +22,7 @@ fi
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
# Generate code for OpenGEODE function function1 # Generate code for OpenGEODE function function1
cd "$SKELS"/function1 && opengeode --toAda function1.pr system_structure.pr && cd $OLDPWD cd "$SKELS"/function1 && opengeode --toAda function1.pr system_structure.pr && cd $OLDPWD
......
...@@ -22,7 +22,7 @@ fi ...@@ -22,7 +22,7 @@ fi
SKELS="./" SKELS="./"
# Update the data view with local paths # Update the data view with local paths
taste-update-data-view taste-update-data-view || exit 1
# Generate code for OpenGEODE function producer1 # Generate code for OpenGEODE function producer1
cd "$SKELS"/producer1 && opengeode --toAda producer1.pr system_structure.pr && cd $OLDPWD cd "$SKELS"/producer1 && opengeode --toAda producer1.pr system_structure.pr && cd $OLDPWD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment