X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/872ebddf3297a212a6cf6c2b2ed816be9d5e9c51..047872771f0685df5ad0db3422b3333e26696330:/tools/sg_unit_extractor.pl diff --git a/tools/sg_unit_extractor.pl b/tools/sg_unit_extractor.pl index 2dee83a059..8b2083fffc 100755 --- a/tools/sg_unit_extractor.pl +++ b/tools/sg_unit_extractor.pl @@ -1,6 +1,6 @@ #! /usr/bin/env perl -# Copyright (c) 2005-2012, 2014. The SimGrid Team. All rights reserved. +# Copyright (c) 2005-2012, 2014-2017. 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. @@ -126,6 +126,7 @@ sub process_one($) { print OUT "#include \n\n"; print OUT "#include \"xbt.h\"\n\n"; print OUT "extern xbt_test_unit_t _xbt_current_unit;\n\n"; + print OUT "#define STRLEN 1024\n"; print OUT "/* SGU: BEGIN PROTOTYPES */\n"; print OUT "/* SGU: END PROTOTYPES */\n\n"; print OUT $GENERATED; @@ -133,7 +134,7 @@ sub process_one($) { print OUT <