Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now, any surf-based program can take --surf-path arguments to help locating platform...
[simgrid.git] / testsuite / surf / trace_usage.c
index ece8656..0f2dcde 100644 (file)
@@ -11,6 +11,7 @@
 #include <stdio.h>
 #include <string.h>
 #include "surf/trace_mgr.h"
+#include "surf/surf.h"
 
 void test(void);
 void test(void)
@@ -47,6 +48,7 @@ void test(void)
 
 int main(int argc, char **argv)
 {
+  surf_init(&argc,argv);
   test();
   return 0;
 }