Lines Matching full:coverage

23         '  Code coverage: yes',
24 ' Using code coverage executable: {}'.format(self.getMakeMacro('PETSC_COVERAGE_EXEC'))
50 …ment('PETSc', '-with-coverage=<bool>', nargs.ArgFuzzyBool(None, value=0, hel…
51coverage-exec=<executable>', nargs.ArgExecutable(None, value='default-auto', mustExist=…
928 … Check that a compiler accepts code-coverage flags. If the compiler does accept code-coverage flags
932 - lang: the language to check the coverage flag for
933 - extra_coverage_flags: a list of extra flags to use when checking the coverage flags
951 log_print('Checking coverage flag for language {}'.format(lang))
963 …log_print('Don\'t know how to add coverage for compiler {}. Only know how to add coverage for gnu-…
966 coverage_flags = make_flag_list('--coverage', extra_coverage_flags)
967 log_print('Checking set of coverage flags: {}'.format(coverage_flags))
973 # the linker also needs to see the coverage flag
981 'Compiler {} did not accept coverage flag {}'.format(quoted(compiler), quoted(flag))
986 'Compiler {} did not accept ANY coverage flags: {}, bailing!'.format(
1018 …self.logPrintWarning('Coverage requested, but optimization flag(s) {} found in {}. Coverage collec…
1039 Configure coverage for all available languages.
1041 If user did not request coverage, this function does nothing and returns immediatel.
1042 Therefore the following only apply to the case where the user requested coverage.
1048 - If no compilers supported the coverage flag, throws RuntimeError
1069 argdb_flag = 'with-coverage'
1072 log_print('coverage was disabled from command line or default')
1083 # generated coverage data is based on these preprocessed source files! So gcov
1092 '-Xcompiler --coverage -Xcompiler -fPIC --keep --keep-dir={}'.format(nvcc_tmp_dir)
1105 # coverage was requested but no compilers accepted it, this is an error
1107 'Coverage was requested (--{}={}) but none of the compilers supported it:\n{}\n'.format(
1129 log_print('Checking if compilers can cross-link disparate coverage libraries')
1130 # At least one of the compilers has coverage enabled. Now need to make sure multiple
1131 # code coverage impls work together, specifically when using clang C/C++ compiler with
1177 Check that a code-coverage collecting tool exists and is on PATH.
1180 - Adds PETSC_COVERAGE_EXEC make macro containing the full path to the coverage tool executable.
1183 - User explicitly requests auto-detection of the coverage tool from command line, and this
1185 - The routine fails to find the tool, and --with-coverage is true
1194 required = bool(self.argDB['with-coverage'])
1195 arg_opt = self.argDB['with-coverage-exec']
1204 …log_print('User did not explicitly set coverage exec (got {}), trying to auto-detect based on comp…
1217 …log_print('Could not auto-detect coverage tool for {}, not a gnuish compiler. Bailing since user d…
1222 …raise RuntimeError('Could not auto-detect coverage tool for {}, please set coverage tool name expl…
1242 log_print('User explicitly set coverage exec as {}'.format(quoted(arg_opt)))
1252 log_print('Checking for coverage tool(s):\n{}'.format('\n'.join('- '+t for t in exec_names)))
1259 # didn't find the coverage tool
1261 …raise RuntimeError('Coverage tool(s) {} could not be found. Please provide explicit path to covera…