Loading scripts/prepare_instrumentation.sh +0 −1 Original line number Diff line number Diff line Loading @@ -229,7 +229,6 @@ find $targetdir -name "*.[ch]" -exec sed -i.bak -e "s/\(0x[0-9a-fA-F]*\)UL/\(\(u set -e >wmc_tool_output.txt trap 'echo "Error calling WMC tool: $?"; cat wmc_tool_output.txt' ERR "$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/asdfdencoder.c" "$targetdir/lib_asdfenc/*.c" "$targetdir/lib_asdfcom/*.c" >>wmc_tool_output.txt 2>&1 "$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/encoder.c" "$targetdir/lib_enc/*.c" "$targetdir/lib_com/*.c" >>wmc_tool_output.txt 2>&1 "$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/decoder.c" "$targetdir/lib_dec/*.c" "$targetdir/lib_rend/*.c" >>wmc_tool_output.txt 2>&1 for bak_file in $targetdir/lib_rend/*.bak; do mv "$bak_file" "${bak_file%.*}"; done # restore fresh .c files to avoid time-consuming des-instrumentation of files by the WMC tool Loading Loading
scripts/prepare_instrumentation.sh +0 −1 Original line number Diff line number Diff line Loading @@ -229,7 +229,6 @@ find $targetdir -name "*.[ch]" -exec sed -i.bak -e "s/\(0x[0-9a-fA-F]*\)UL/\(\(u set -e >wmc_tool_output.txt trap 'echo "Error calling WMC tool: $?"; cat wmc_tool_output.txt' ERR "$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/asdfdencoder.c" "$targetdir/lib_asdfenc/*.c" "$targetdir/lib_asdfcom/*.c" >>wmc_tool_output.txt 2>&1 "$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/encoder.c" "$targetdir/lib_enc/*.c" "$targetdir/lib_com/*.c" >>wmc_tool_output.txt 2>&1 "$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/decoder.c" "$targetdir/lib_dec/*.c" "$targetdir/lib_rend/*.c" >>wmc_tool_output.txt 2>&1 for bak_file in $targetdir/lib_rend/*.bak; do mv "$bak_file" "${bak_file%.*}"; done # restore fresh .c files to avoid time-consuming des-instrumentation of files by the WMC tool Loading