Commit c26861ba authored by Junchao Zhang's avatar Junchao Zhang
Browse files

Support spaces after @whatever@ in testlist



It makes testlist.in files more flexible and easier to read
Signed-off-by: Sangmin Seo's avatarSangmin Seo <sseo@anl.gov>
parent 66fa21c7
...@@ -472,7 +472,7 @@ sub ConvertTestlist { ...@@ -472,7 +472,7 @@ sub ConvertTestlist {
# Cray-style pointers for MPI_Alloc_mem). # Cray-style pointers for MPI_Alloc_mem).
$_ = "\@ALLOCMEMFC\@\n"; $_ = "\@ALLOCMEMFC\@\n";
} }
elsif (/^(\@\w+\@)(\w+f)\s+(.*)/) { elsif (/^(\@\w+\@)(\s*\w+f)\s+(.*)/) {
# This handles the case where an autoconf variable in the # This handles the case where an autoconf variable in the
# testlist.in file is used to optionally comment out a test # testlist.in file is used to optionally comment out a test
$_ = $1 . $2 . "90 " . $3 . "\n"; $_ = $1 . $2 . "90 " . $3 . "\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment