X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7e32165748de8fa044ecdfac9315825111d63f84..b539f6df0dbdbfe7cbd9704c940734dde92b83a3:/teshsuite/xbt/cmdline/cmdline.c diff --git a/teshsuite/xbt/cmdline/cmdline.c b/teshsuite/xbt/cmdline/cmdline.c new file mode 100644 index 0000000000..bda54bc1fc --- /dev/null +++ b/teshsuite/xbt/cmdline/cmdline.c @@ -0,0 +1,19 @@ +/* Copyright (c) 2018. 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/engine.h" +#include + +XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this test"); + +int main(int argc, char** argv) +{ + simgrid_init(&argc, argv); + + for (int i = 1; i < argc; i++) + XBT_INFO("argv[%d]=%s", i, argv[i]); + + return 0; +}