We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81eef61 commit 0426473Copy full SHA for 0426473
1 file changed
test/cli/proj2_test.py
@@ -75,7 +75,7 @@ def test_absolute_path():
75
76
def test_progress_threads():
77
__create_compile_commands()
78
- ret, stdout, _ = cppcheck(['--project=' + os.path.realpath('proj2/' + __COMPILE_COMMANDS_JSON), '-j2'])
+ ret, stdout, _ = cppcheck(['--project=' + os.path.join(__proj_dir, __COMPILE_COMMANDS_JSON), '-j2'], cwd=__script_dir)
79
assert ret == 0, stdout
80
assert stdout.find('1/2 files checked 76% done') >= 0
81
assert stdout.find('2/2 files checked 100% done') >= 0
0 commit comments