X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f993768642444f9cb04ec1c354f045389126568..bcd50afc8279afbeed3aa52ff1976b7d11da2ccb:/tools/cmake/scripts/generate_memcheck_tests.pl diff --git a/tools/cmake/scripts/generate_memcheck_tests.pl b/tools/cmake/scripts/generate_memcheck_tests.pl index 96969b95f5..130b0c31bb 100755 --- a/tools/cmake/scripts/generate_memcheck_tests.pl +++ b/tools/cmake/scripts/generate_memcheck_tests.pl @@ -152,13 +152,16 @@ while ( defined( $line = ) ) { foreach my $factory (split(';', $factories)) { $close=0; if( $factory =~ /^raw/) { - print "${indent}if(HAVE_RAWCTX)\n"; + print "${indent}if(HAVE_RAW_CONTEXTS)\n"; $close=1; }elsif( $factory =~ /^boost/) { - print "${indent}if(HAVE_BOOST_CONTEXT)\n"; + print "${indent}if(HAVE_BOOST_CONTEXTS)\n"; $close=1; }elsif( $factory =~ /^ucontext/) { - print "${indent}if(CONTEXT_UCONTEXT)\n"; + print "${indent}if(HAVE_UCONTEXT_CONTEXTS)\n"; + $close=1; + }elsif( $factory =~ /^thread/) { + print "${indent}if(HAVE_THREAD_CONTEXTS)\n"; $close=1; } print "${indent}ADD_TEST(NAME memcheck-$name_test-$factory-$count\n";