Skip to content

Commit

Permalink
Placeholder for tests - cannot check windows project at the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Faber committed Apr 30, 2024
1 parent 6c36aea commit 7effc12
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/cli/more-projects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,4 +636,15 @@ def test_json_file_ignore_2(tmpdir):
'cppcheck: all paths were ignored'
]

assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)
assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)


def test_shared_items_project(tmpdir):
solutionDir = os.path.join(os.getcwd(), 'shared-items-project')
solutionFile = f"{solutionDir}/Solution.sln"

args = ['--project={}'.format(solutionFile), "-j1"]

# TODO:
# - Assert "shared-items-project\Main\MainFile.Cpp"
# - Assert "shared-items-project\Shared\TestClass.Cpp"

0 comments on commit 7effc12

Please sign in to comment.