====== lcov ====== * gcov must be on path * gcc produces .gcda files. * geninfo's first pass reads them and creates .gcov files. * geninfo's second pass calls gcov with a .gcov file as input and produces .gcno files * gcov files have names like #home#dmacq#code#instantiations#dino2-devel#vast-vm#exe#source#headless#os#unix#main.c.gcov on both Linux and Windows. * If we execute this code at line 990 in geninfo.pl ($instr, $graph) = adjust_graph_filenames($base_dir, $instr, $graph); then we get this error: geninfo.pl: WARNING: cannot find an entry for C~#code#instantiations#dino2-devel #vast-vm#vm#source#os#windows#estty.c.gcov in .gcno file, skipping file! * $instr and $graph are hashes that look the same before and after the code executes * see the #dq's in geninfo.pl. * this works for perl formatting if you follow http://micksmix.wordpress.com/2009/09/24/format-your-perl-scripts-using-perltidy-and-notepad/) perl -x -S perltidy -b "$(FULL_CURRENT_PATH)" -ole=win npp_open $(FULL_CURRENT_PATH) * tidy-pm must be in per64\lib\perl * if perl will not read command line arguments, import the following into regedit: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\pl_auto_file\shell\open\command] @="\"C:\\Perl64\\bin\\perl.exe\" \"%1\" %*"