Skip to content

Commit 0426473

Browse files
committed
fix path
1 parent 81eef61 commit 0426473

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cli/proj2_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_absolute_path():
7575

7676
def test_progress_threads():
7777
__create_compile_commands()
78-
ret, stdout, _ = cppcheck(['--project=' + os.path.realpath('proj2/' + __COMPILE_COMMANDS_JSON), '-j2'])
78+
ret, stdout, _ = cppcheck(['--project=' + os.path.join(__proj_dir, __COMPILE_COMMANDS_JSON), '-j2'], cwd=__script_dir)
7979
assert ret == 0, stdout
8080
assert stdout.find('1/2 files checked 76% done') >= 0
8181
assert stdout.find('2/2 files checked 100% done') >= 0

0 commit comments

Comments
 (0)