Commit d68964b8 authored by Pietro Incardona's avatar Pietro Incardona

Small change in the pdata build

parent e9442d6c
......@@ -73,3 +73,4 @@ missing
install_dir
**/*.vtk
!**/test_data/*.vtk
*.csv
......@@ -22,42 +22,42 @@ fi
mkdir openfpm_numerics/src/config
# pull from all the projects
cd openfpm_data
git checkout develop
mkdir src/config
git pull origin develop
if [ $? -ne 0 ]; then
echo -e "Configure\033[91;5;1m FAILED \033[0m"
exit 1
fi
cd ..
#cd openfpm_data
#git checkout develop
#mkdir src/config
#git pull origin develop
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
cd openfpm_devices
mkdir src/config
git pull origin master
if [ $? -ne 0 ]; then
echo -e "Configure\033[91;5;1m FAILED \033[0m"
exit 1
fi
cd ..
#cd openfpm_devices
#mkdir src/config
#git pull origin master
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
cd openfpm_vcluster
mkdir src/config
git pull origin master
if [ $? -ne 0 ]; then
echo -e "Configure\033[91;5;1m FAILED \033[0m"
exit 1
fi
cd ..
#cd openfpm_vcluster
#mkdir src/config
#git pull origin master
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
cd openfpm_io
mkdir src/config
git pull origin master
if [ $? -ne 0 ]; then
echo -e "Configure\033[91;5;1m FAILED \033[0m"
exit 1
fi
cd ..
#cd openfpm_io
#mkdir src/config
#git pull origin master
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
if [ "$2" == "gin" ]
then
......@@ -73,6 +73,10 @@ then
make install
if [ $3 -eq x"no_test" ]; then
exit 0;
fi
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$2 failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
exit 1 ;
......@@ -272,6 +276,10 @@ else
exit 1 ;
fi
if [ $3 -eq x"no_test" ]; then
exit 0;
fi
mpirun -np 1 ./src/pdata
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$2 failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
......
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