A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake refactoring in teshuite/smpi cont'd
[simgrid.git]
/
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
96969b9
..
130b0c3
100755
(executable)
--- a/
tools/cmake/scripts/generate_memcheck_tests.pl
+++ b/
tools/cmake/scripts/generate_memcheck_tests.pl
@@
-152,13
+152,16
@@
while ( defined( $line = <MAKETEST> ) ) {
foreach my $factory (split(';', $factories)) {
$close=0;
if( $factory =~ /^raw/) {
foreach my $factory (split(';', $factories)) {
$close=0;
if( $factory =~ /^raw/) {
- print "${indent}if(HAVE_RAW
CTX
)\n";
+ print "${indent}if(HAVE_RAW
_CONTEXTS
)\n";
$close=1;
}elsif( $factory =~ /^boost/) {
$close=1;
}elsif( $factory =~ /^boost/) {
- print "${indent}if(HAVE_BOOST_CONTEXT)\n";
+ print "${indent}if(HAVE_BOOST_CONTEXT
S
)\n";
$close=1;
}elsif( $factory =~ /^ucontext/) {
$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";
$close=1;
}
print "${indent}ADD_TEST(NAME memcheck-$name_test-$factory-$count\n";