INFO0("sender");
- host = calloc(1, sizeof(m_host_t));
+ /*host = xbt_new0(m_host_t,1);*/
INFO1("host = %s", argv[1]);
MSG_error_t res = MSG_OK;
+
+
INFO0("test_all");
/* Simulation setting */
MSG_launch_application(application_file);
res = MSG_main();
+
return res;
} /* end_of_test_all */
int main(int argc, char *argv[])
{
MSG_error_t res = MSG_OK;
-
+
+ #ifdef _MSC_VER
+ unsigned int prev_exponent_format = _set_output_format(_TWO_DIGIT_EXPONENT);
+ #endif
MSG_global_init(&argc,argv);
MSG_clean();
+ #ifdef _MSC_VER
+ _set_output_format(prev_exponent_format);
+ #endif
+
if(res==MSG_OK) return 0;
else return 1;
} /* end_of_main */