# HG changeset patch # User rosfran # Date 1178202391 -3600 # Node ID 33f0001923c408529c82fdeab90818ea054eb93c # Parent 4691abcf4f4506bef739bf081cd512a5200bc6e5 [svn r629] Added new libtool compatibility parameter to the genhtml. diff -r 4691abcf4f45 -r 33f0001923c4 gmyth/src/Makefile.am --- a/gmyth/src/Makefile.am Thu May 03 14:39:25 2007 +0100 +++ b/gmyth/src/Makefile.am Thu May 03 15:26:31 2007 +0100 @@ -99,4 +99,5 @@ CLEANFILES = $(BUILT_SOURCES) \ *.gcda \ - *.gcno + *.gcno \ + *.gcov diff -r 4691abcf4f45 -r 33f0001923c4 gmyth/tests/coverage.py --- a/gmyth/tests/coverage.py Thu May 03 14:39:25 2007 +0100 +++ b/gmyth/tests/coverage.py Thu May 03 15:26:31 2007 +0100 @@ -16,14 +16,14 @@ if os.path.exists('coverage'): shutil.rmtree('coverage') os.mkdir('coverage') - #os.chdir('coverage') + os.chdir('coverage') #base_dir = '../' + os.environ['top_srcdir'] + '/src' #base_dir = build_dir + '/tests' - os.system('lcov -d ' + build_dir + ' -b ../src -z') - os.system('lcov -d ' + build_dir + ' -b ../src -c -o gmyth.info') + os.system('lcov -d ' + build_dir + ' -b ' + build_dir + '/src --compat-libtool -z') + os.system('lcov -d ' + build_dir + ' -b ' + build_dir + '/src --compat-libtool -c -o gmyth.info') #os.system('lcov -d ' + build_dir + ' -z') #os.system('lcov -d ' + build_dir + ' -c -o gmyth.info') - os.system('genhtml -o ./coverage/ gmyth.info') + os.system('genhtml gmyth.info') exe = 'gmyth_test_connection' exe = [ '.libs/' + exe ]