Skip to content

Commit 21ffcec

Browse files
committed
PC09-022-auto-exename: update test to be consistent with gprbuild
1 parent e73ce94 commit 21ffcec

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

testsuite/tests/PC09-022-auto-exename/src-sub/sub_main.adb

-4
This file was deleted.

testsuite/tests/PC09-022-auto-exename/test.py

-20
Original file line numberDiff line numberDiff line change
@@ -136,26 +136,6 @@ def run(self):
136136
mains=('main_proc.adb', ),
137137
build=False,
138138
should_succeed=False),
139-
140-
# Check success when there is one single main in the whole project closure:
141-
# once when the main is in the root project...
142-
Project(project_files, 'sub', 'src-sub',
143-
mains=('sub_main.adb', ),
144-
deps=('nomain', ),
145-
should_succeed=True),
146-
147-
# ... and once when it is in a dep project
148-
Project(project_files, 'sub_main_in_dep', 'src-sub',
149-
mains=(),
150-
deps=('single', ),
151-
should_succeed=True),
152-
153-
# Check that we have an error when there is at most one main per project
154-
# and multiple projects with a main.
155-
Project(project_files, 'sub_double', 'src-sub',
156-
mains=('sub_main.adb', ),
157-
deps=('single', ),
158-
should_succeed=False),
159139
):
160140
assert p.name not in project_files
161141
project_files[p.name] = p

0 commit comments

Comments
 (0)