diff options
-rwxr-xr-x | autogen.sh | 1 | ||||
-rwxr-xr-x | bin/trace | 11 |
2 files changed, 5 insertions, 7 deletions
@@ -361,7 +361,6 @@ echo # have no effect on files that don't have HDF5 API macros in them. echo echo "Running trace script:" -echo "NOTE: NO TRACE warnings in H5E code are normal and expected." bin/trace src/H5*.c || exit 1 # Run make_err @@ -281,13 +281,9 @@ sub rewrite_func ($$$$$) { # The H5TRACE() statement if ($body =~ /\/\*[ \t]*NO[ \t]*TRACE[ \t]*\*\//) { - if ($body =~ /\s*H5TRACE\d+\s*\(/) { - errmesg $file, $name, "warning: trace info was not updated because of NO TRACE comment"; - } else { - errmesg $file, $name, "warning: trace info was not inserted because of NO TRACE comment"; - } + # Ignored due to NO TRACE comment. } elsif ($body =~ s/((\n[ \t]*)H5TRACE\d+\s*\(.*?\);)\n/"$2$trace"/es) { - # Replaced an H5TRACE macro + # Replaced an H5TRACE macro. } elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*\(.*?\);??)\n/"$1$2$trace"/es) { # Added an H5TRACE macro after a FUNC_ENTER macro. } else { @@ -335,3 +331,6 @@ for $file (@ARGV) { } } } + +printf "Finished processing HDF5 API calls\n" + |