[svn r629] Added new libtool compatibility parameter to the genhtml. trunk
authorrosfran
Thu May 03 15:26:31 2007 +0100 (2007-05-03)
branchtrunk
changeset 62333f0001923c4
parent 622 4691abcf4f45
child 624 f41dd580496b
[svn r629] Added new libtool compatibility parameter to the genhtml.
gmyth/src/Makefile.am
gmyth/tests/coverage.py
     1.1 --- a/gmyth/src/Makefile.am	Thu May 03 14:39:25 2007 +0100
     1.2 +++ b/gmyth/src/Makefile.am	Thu May 03 15:26:31 2007 +0100
     1.3 @@ -99,4 +99,5 @@
     1.4  
     1.5  CLEANFILES = $(BUILT_SOURCES) \
     1.6  	*.gcda \
     1.7 -	*.gcno
     1.8 +	*.gcno \
     1.9 +	*.gcov
     2.1 --- a/gmyth/tests/coverage.py	Thu May 03 14:39:25 2007 +0100
     2.2 +++ b/gmyth/tests/coverage.py	Thu May 03 15:26:31 2007 +0100
     2.3 @@ -16,14 +16,14 @@
     2.4      if os.path.exists('coverage'):
     2.5          shutil.rmtree('coverage')
     2.6      os.mkdir('coverage')
     2.7 -    #os.chdir('coverage')
     2.8 +    os.chdir('coverage')
     2.9      #base_dir = '../' + os.environ['top_srcdir'] + '/src'
    2.10      #base_dir = build_dir + '/tests'
    2.11 -    os.system('lcov -d ' + build_dir + ' -b ../src -z')
    2.12 -    os.system('lcov -d ' + build_dir + ' -b ../src -c -o gmyth.info')
    2.13 +    os.system('lcov -d ' + build_dir + ' -b ' + build_dir + '/src --compat-libtool -z')
    2.14 +    os.system('lcov -d ' + build_dir + ' -b ' + build_dir + '/src --compat-libtool -c -o gmyth.info')
    2.15      #os.system('lcov -d ' + build_dir + ' -z')
    2.16      #os.system('lcov -d ' + build_dir + ' -c -o gmyth.info')
    2.17 -    os.system('genhtml -o ./coverage/ gmyth.info')
    2.18 +    os.system('genhtml gmyth.info')
    2.19  
    2.20  exe = 'gmyth_test_connection'
    2.21  exe = [ '.libs/' + exe ]