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
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
# Generate code for OpenGEODE function orchestrator
cd "$SKELS"/orchestrator && opengeode --toAda orchestrator.pr system_structure.pr && cd $OLDPWD
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f lift_model.zip
zip lift_model lift_model/*
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -22,7 +22,7 @@ fi
SKELS="./"
# 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
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -4,7 +4,7 @@ rm -f simple_c_function.zip
zip simple_c_function simple_c_function/*
[ ! -z "$CLEANUP" ] && rm -rf binary.*
taste-update-data-view
taste-update-data-view || exit 1
# Ada runtime
assert-builder-ocarina.py \
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -43,7 +43,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# 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
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f function0.zip
zip function0 function0/*
......
......@@ -9,7 +9,7 @@ cd ..
[ ! -z "$CLEANUP" ] && rm -rf binary.linux.pohic/
taste-update-data-view
taste-update-data-view || exit 1
assert-builder-ocarina.py \
-f \
......
......@@ -22,7 +22,7 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
# Generate code for OpenGEODE function flight
cd "$SKELS"/flight && opengeode --toAda flight.pr system_structure.pr && cd $OLDPWD
......
......@@ -24,7 +24,7 @@ fi
SKELS="./"
# 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
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
rm -f a.zip
zip a a/*
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
rm -f hello.zip
zip hello hello/*
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f f1.zip
zip f1 f1/*
......
......@@ -22,7 +22,7 @@ fi
SKELS="Inputs/code/"
# 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
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
cd skels
rm -f pinger.zip
......
......@@ -45,7 +45,7 @@ then
else
OUTPUTDIR=binary
fi
taste-update-data-view
taste-update-data-view || exit 1
assert-builder-ocarina.py \
--fast \
-p \
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f function0.zip
zip function0 function0/*
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
rm -f a.zip
zip a a/*
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f mysyncfunction.zip
zip mysyncfunction mysyncfunction/*
......
......@@ -11,7 +11,7 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC
taste-update-data-view
taste-update-data-view || exit 1
if [ -f user_init_pre.sh ]
then
......@@ -47,7 +47,7 @@ SKELS="./"
# Update the data view with local paths
if [ "$(hostname)" != "taste-build" ] ; then
# There is no X server in CI
taste-update-data-view
taste-update-data-view || exit 1
fi
cd "$SKELS" && rm -f myadablock.zip && zip myadablock myadablock/* && cd $OLDPWD
......
......@@ -19,7 +19,7 @@ then
DEPLOYMENTVIEW=DeploymentView.aadl
fi
taste-update-data-view
taste-update-data-view || exit 1
SKELS="./"
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f my_c_function.zip
zip my_c_function my_c_function/*
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f my_c_function.zip
zip my_c_function my_c_function/*
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f function0.zip
zip function0 function0/*
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
rm -f a.zip
zip a a/*
......
#!/bin/bash
taste-update-data-view
taste-update-data-view || exit 1
rm -f pinger.zip
zip pinger pinger/*
......
......@@ -45,7 +45,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
# Generate code for OpenGEODE function sdl_fct
cd "$SKELS"/sdl_fct && opengeode --toAda sdl_fct.pr system_structure.pr && cd $OLDPWD
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -14,7 +14,7 @@
# 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.
taste-update-data-view
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
......
......@@ -22,7 +22,7 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
# Generate code for OpenGEODE function function1
cd "$SKELS"/function1 && opengeode --toAda function1.pr system_structure.pr && cd $OLDPWD
......
......@@ -22,7 +22,7 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view
taste-update-data-view || exit 1
# Generate code for OpenGEODE function producer1
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