diff --git a/vunit/test/acceptance/test_artificial.py b/vunit/test/acceptance/test_artificial.py index 4719f07923..c15ba06ff4 100644 --- a/vunit/test/acceptance/test_artificial.py +++ b/vunit/test/acceptance/test_artificial.py @@ -40,16 +40,12 @@ def test_artificial(self): def test_artificial_elaborate_only(self): self.check(self.artificial_run_vhdl, - exit_code=1, + exit_code=0, args=["--elaborate"]) elab_expected_report = [] for status, name in EXPECTED_REPORT: - if name in ("lib.tb_elab_fail.all",): - status = "failed" - else: - status = "passed" - elab_expected_report.append((status, name)) + elab_expected_report.append(("passed", name)) check_report(self.report_file, elab_expected_report) @@ -61,11 +57,11 @@ def test_artificial_elaborate_only(self): ("passed", "lib.tb_pass.all")]) self.check(self.artificial_run_vhdl, - exit_code=1, + exit_code=0, clean=False, args=["--elaborate", "lib.tb_elab_fail.all"]) check_report(self.report_file, [ - ("failed", "lib.tb_elab_fail.all")]) + ("passed", "lib.tb_elab_fail.all")]) def _test_artificial(self, args=None): """