Skip to content

Commit 44aa80a

Browse files
committed
report: Pass empty source directory for tests
1 parent 5c571d1 commit 44aa80a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

report/tests/test.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,14 @@ def test(self):
8383
self.assertEqual(len([a for a in artifact_paths if "jsvm" in a]), 2)
8484

8585
codecoverage.download_grcov()
86-
codecoverage.generate_report("./grcov", "lcov", "output.info", artifact_paths)
86+
codecoverage.generate_report(
87+
"./grcov", "lcov", None, "output.info", artifact_paths
88+
)
8789
self.assertTrue(os.path.exists("output.info"))
8890

89-
codecoverage.generate_report("./grcov", "html", "report_html", artifact_paths)
91+
codecoverage.generate_report(
92+
"./grcov", "html", None, "report_html", artifact_paths
93+
)
9094
self.assertTrue(os.path.isdir("report_html"))
9195
self.assertTrue(os.path.exists("report_html/index.html"))
9296

0 commit comments

Comments
 (0)