Commit ec562d96 authored by incardon's avatar incardon

Adding Missing file

parent 873cf4e5
......@@ -38,8 +38,8 @@ if [ $? -ne 0 ]; then
fi
make
if [ $? -ne 0 ]; then
exit 1
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$2 failed to compile the openfpm_data test $opt_comp \" }] }" https://hooks.slack.com/services/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
exit 1
fi
$pre_command ./src/mem_map
......
/*
* se_util.hpp
*
* Created on: Oct 22, 2015
* Author: i-bird
*/
#ifndef OPENFPM_DATA_SRC_UTIL_SE_UTIL_HPP_
#define OPENFPM_DATA_SRC_UTIL_SE_UTIL_HPP_
// Macro that decide what to do in case of error
#ifdef STOP_ON_ERROR
#define ACTION_ON_ERROR(error) exit(1);
#elif defined(THROW_ON_ERROR)
#define ACTION_ON_ERROR(error) throw error;
#else
#define ACTION_ON_ERROR()
#endif
#endif /* OPENFPM_DATA_SRC_UTIL_SE_UTIL_HPP_ */
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