()
| 175 | __test_vs_project_local_path(['--no-analyze-all-vs-configs'], 'Debug|Win32') |
| 176 | |
| 177 | def test_vs_project_relative_path(): |
| 178 | args = [ |
| 179 | '--template=cppcheck1', |
| 180 | '--project=' + os.path.join(__proj_dir, 'helloworld.vcxproj') |
| 181 | ] |
| 182 | ret, stdout, stderr = cppcheck(args, cwd=__script_dir) |
| 183 | filename = os.path.join(__proj_dir, 'main.c') |
| 184 | assert ret == 0, stdout |
| 185 | assert __getVsConfigs(stdout, filename) == 'Debug|Win32 Debug|x64 Release|Win32 Release|x64' |
| 186 | assert stderr == '[%s:5]: (error) Division by zero.\n' % filename |
| 187 | |
| 188 | def test_vs_project_absolute_path(): |
| 189 | args = [ |
nothing calls this directly
no test coverage detected