Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics: rename some tests in teshsuite/simix
[simgrid.git] / teshsuite / simix / check-defaults / check-defaults.cpp
diff --git a/teshsuite/simix/check-defaults/check-defaults.cpp b/teshsuite/simix/check-defaults/check-defaults.cpp
new file mode 100644 (file)
index 0000000..581dd6a
--- /dev/null
@@ -0,0 +1,18 @@
+/* check_defaults -- simple program displaying its context factory          */
+
+/* Copyright (c) 2013-2014. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#include "simgrid/simix.h"
+#include "xbt/log.h"
+
+int main(int argc, char* argv[])
+{
+  xbt_log_control_set("root.fmt:[%c/%p]%e%m%n");
+  xbt_log_control_set("simix_context.threshold:verbose");
+  SIMIX_global_init(&argc, argv);
+  return 0;
+}