Skip to content

Commit fd4aea1

Browse files
committed
remove -j2 in progress test
1 parent be1bd59 commit fd4aea1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/cli/proj2_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ def test_absolute_path():
7373
assert stdout.find('Checking %s ...' % file1) >= 0
7474
assert stdout.find('Checking %s ...' % file2) >= 0
7575

76-
def test_progress_threads():
76+
def test_progress():
7777
size1 = os.path.getsize(os.path.join(__proj_dir, 'a', 'a.c'))
7878
size2 = os.path.getsize(os.path.join(__proj_dir, 'b', 'b.c'))
7979
perc1 = 100 * size1 // (size1 + size2)
8080
perc2 = 100 * size2 // (size1 + size2)
8181
__create_compile_commands()
82-
ret, stdout, _ = cppcheck(['--project=' + os.path.join(__proj_dir, __COMPILE_COMMANDS_JSON), '-j2'], cwd=__script_dir)
82+
ret, stdout, _ = cppcheck(['--project=' + os.path.join(__proj_dir, __COMPILE_COMMANDS_JSON)], cwd=__script_dir)
8383
assert ret == 0, stdout
8484
assert stdout.find('1/2 files checked %d%% done' % perc1) >= 0 or stdout.find('1/2 files checked %d%% done' % perc2) >= 0
8585
assert stdout.find('2/2 files checked 100% done') >= 0

0 commit comments

Comments
 (0)