Don't let jedule implicetely and systematically dump a file
Modify the minmin scheduling test to examplify an explicit dump (iff
the jedule cmake option is ON)
#include "xbt/ex.h"
#include <string.h>
#include "xbt/ex.h"
#include <string.h>
+#ifdef HAVE_JEDULE
+#include "simgrid/jedule/jedule_sd_binding.h"
+#endif
+
XBT_LOG_NEW_DEFAULT_CATEGORY(test,
"Logging specific to this SimDag example");
XBT_LOG_NEW_DEFAULT_CATEGORY(test,
"Logging specific to this SimDag example");
+#ifdef HAVE_JEDULE
+ jedule_sd_dump();
+#endif
xbt_dynar_free_container(&ready_tasks);
xbt_dynar_free_container(&ready_tasks);
> [98.184618] [test/INFO] Producing the trace of the run into ./Montage_25.jed
> [98.184618] [test/INFO] Producing the trace of the run into ./Montage_25.jed
-$ cmake -E remove -f ${srcdir:=.}/Montage_25.jed
\ No newline at end of file
+$ cmake -E remove -f ${srcdir:=.}/Montage_25.jed ${srcdir:=.}/minmin_test.jed
\ No newline at end of file
jedule_sd_cleanup();
jedule_sd_init();
#endif
jedule_sd_cleanup();
jedule_sd_init();
#endif
sd_global = NULL;
#ifdef HAVE_JEDULE
sd_global = NULL;
#ifdef HAVE_JEDULE
jedule_sd_cleanup();
jedule_sd_exit();
#endif
jedule_sd_cleanup();
jedule_sd_exit();
#endif