X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/be2d18ff8c8ee4ccf6b713010f8999e7613dcdf5..50c7df514872f832ef270099ca32302a28ff55ff:/teshsuite/mc/random-bug/random-bug.cpp diff --git a/teshsuite/mc/random-bug/random-bug.cpp b/teshsuite/mc/random-bug/random-bug.cpp index 01a9dd8ff8..87c26da104 100644 --- a/teshsuite/mc/random-bug/random-bug.cpp +++ b/teshsuite/mc/random-bug/random-bug.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2021. 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. */ @@ -19,6 +19,7 @@ static void app() { int x = MC_random(0, 5); int y = MC_random(0, 5); + // XBT_INFO("got %d %d",x,y); if (behavior == Behavior::ASSERT) { MC_assert(x != 3 || y != 4); @@ -34,7 +35,7 @@ static void app() int main(int argc, char* argv[]) { simgrid::s4u::Engine e(&argc, argv); - xbt_assert(argc == 3, "Usage: random-bug raise|assert "); + xbt_assert(argc == 3, "Usage: random-bug abort|assert|printf "); if (strcmp(argv[1], "abort") == 0) { XBT_INFO("Behavior: abort"); behavior = Behavior::ABORT;