X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..e26d84ebd86c18af7d79d4afd659e53fd62ac9eb:/teshsuite/msg/trace/test_trace_integration.c diff --git a/teshsuite/msg/trace/test_trace_integration.c b/teshsuite/msg/trace/test_trace_integration.c index 135509bf5d..54b2f2f2b2 100644 --- a/teshsuite/msg/trace/test_trace_integration.c +++ b/teshsuite/msg/trace/test_trace_integration.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010. The SimGrid Team. +/* Copyright (c) 2009-2010, 2012-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,7 +6,7 @@ #include #include -#include "msg/msg.h" +#include "simgrid/msg.h" #include "xbt/log.h" #include "xbt/asserts.h" @@ -32,8 +32,8 @@ int test_trace(int argc, char *argv[]) task_prio = atof(argv[2]); XBT_INFO("Testing the trace integration cpu model: CpuTI"); - XBT_INFO("Task size: %lf", task_comp_size); - XBT_INFO("Task prio: %lf", task_prio); + XBT_INFO("Task size: %f", task_comp_size); + XBT_INFO("Task prio: %f", task_prio); /* Create and execute a single task. */ task = MSG_task_create("proc 0", task_comp_size, 0, NULL); @@ -43,7 +43,6 @@ int test_trace(int argc, char *argv[]) XBT_INFO("Test finished"); - return 0; } @@ -63,7 +62,7 @@ int main(int argc, char *argv[]) MSG_function_register("test_trace", test_trace); /* Use the same file for platform and deployment. */ MSG_create_environment(argv[1]); - MSG_launch_application(argv[1]); + MSG_launch_application(argv[2]); /* Run the example. */ res = MSG_main();