Skip to content

Commit 67026cf

Browse files
committed
Add ArmVirtPkg robot tests
1 parent a2548fe commit 67026cf

File tree

1 file changed

+76
-8
lines changed

1 file changed

+76
-8
lines changed

integration_test/edk2_platform_GCC5.robot

Lines changed: 76 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ One time setup
4343
*** Test Cases ***
4444
Run Edk2 Ovmf IA32 DEBUG
4545
[Documentation] This test will run IA32 DEBUG build for OvmfPkg
46-
[Tags] PlatformCI OvmfPkg IA32 GCC5 Windows Qemu Edk2
46+
[Tags] PlatformCI OvmfPkg IA32 GCC5 Ubuntu Qemu Edk2
4747
${arch}= Set Variable IA32
4848
${target}= Set Variable DEBUG
4949
${package}= Set Variable OvmfPkg
@@ -60,7 +60,7 @@ Run Edk2 Ovmf IA32 DEBUG
6060

6161
Run Edk2 Ovmf IA32 RELEASE
6262
[Documentation] This test will run IA32 RELEASE build for OvmfPkg
63-
[Tags] PlatformCI OvmfPkg IA32 GCC5 Windows Qemu Edk2
63+
[Tags] PlatformCI OvmfPkg IA32 GCC5 Ubuntu Qemu Edk2
6464
${arch}= Set Variable IA32
6565
${target}= Set Variable RELEASE
6666
${package}= Set Variable OvmfPkg
@@ -77,7 +77,7 @@ Run Edk2 Ovmf IA32 RELEASE
7777

7878
Run Edk2 Ovmf X64 DEBUG
7979
[Documentation] This test will run X64 DEBUG build for OvmfPkg
80-
[Tags] PlatformCI OvmfPkg X64 GCC5 Windows Qemu Edk2
80+
[Tags] PlatformCI OvmfPkg X64 GCC5 Ubuntu Qemu Edk2
8181
${arch}= Set Variable X64
8282
${target}= Set Variable DEBUG
8383
${package}= Set Variable OvmfPkg
@@ -94,7 +94,7 @@ Run Edk2 Ovmf X64 DEBUG
9494

9595
Run Edk2 Ovmf X64 RELEASE
9696
[Documentation] This test will run X64 RELEASE build for OvmfPkg
97-
[Tags] PlatformCI OvmfPkg X64 GCC5 Windows Qemu Edk2
97+
[Tags] PlatformCI OvmfPkg X64 GCC5 Ubuntu Qemu Edk2
9898
${arch}= Set Variable X64
9999
${target}= Set Variable RELEASE
100100
${package}= Set Variable OvmfPkg
@@ -111,7 +111,7 @@ Run Edk2 Ovmf X64 RELEASE
111111

112112
Run Edk2 Emulator IA32 DEBUG
113113
[Documentation] This test will run IA32 DEBUG build for EmulatorPkg
114-
[Tags] PlatformCI EmulatorPkg IA32 GCC5 Windows Qemu Edk2
114+
[Tags] PlatformCI EmulatorPkg IA32 GCC5 Ubuntu Qemu Edk2
115115
${arch}= Set Variable IA32
116116
${target}= Set Variable DEBUG
117117
${package}= Set Variable EmulatorPkg
@@ -128,7 +128,7 @@ Run Edk2 Emulator IA32 DEBUG
128128

129129
Run Edk2 Emulator IA32 RELEASE
130130
[Documentation] This test will run IA32 RELEASE build for EmulatorPkg
131-
[Tags] PlatformCI EmulatorPkg IA32 GCC5 Windows Qemu Edk2
131+
[Tags] PlatformCI EmulatorPkg IA32 GCC5 Ubuntu Qemu Edk2
132132
${arch}= Set Variable IA32
133133
${target}= Set Variable RELEASE
134134
${package}= Set Variable EmulatorPkg
@@ -145,7 +145,7 @@ Run Edk2 Emulator IA32 RELEASE
145145

146146
Run Edk2 Emulator X64 DEBUG
147147
[Documentation] This test will run X64 DEBUG build for EmulatorPkg
148-
[Tags] PlatformCI EmulatorPkg X64 GCC5 Windows Qemu Edk2
148+
[Tags] PlatformCI EmulatorPkg X64 GCC5 Ubuntu Qemu Edk2
149149
${arch}= Set Variable X64
150150
${target}= Set Variable DEBUG
151151
${package}= Set Variable EmulatorPkg
@@ -162,7 +162,7 @@ Run Edk2 Emulator X64 DEBUG
162162

163163
Run Edk2 Emulator X64 RELEASE
164164
[Documentation] This test will run X64 RELEASE build for EmulatorPkg
165-
[Tags] PlatformCI EmulatorPkg X64 GCC5 Windows Qemu Edk2
165+
[Tags] PlatformCI EmulatorPkg X64 GCC5 Ubuntu Qemu Edk2
166166
${arch}= Set Variable X64
167167
${target}= Set Variable RELEASE
168168
${package}= Set Variable EmulatorPkg
@@ -176,3 +176,71 @@ Run Edk2 Emulator X64 RELEASE
176176
Build BaseTools ${tool_chain} ${ws_root}
177177
Stuart platform build ${ci_file} ${arch} ${target} ${tool_chain} ${ws_root}
178178
Stuart platform run ${ci_file} ${arch} ${target} ${tool_chain} MAKE_STARTUP_NSH\=TRUE ${ws_root}
179+
180+
Run Edk2 ArmVirt IA32 DEBUG
181+
[Documentation] This test will run IA32 DEBUG build for ArmVirtPkg
182+
[Tags] PlatformCI ArmVirtPkg IA32 GCC5 Ubuntu Qemu Edk2
183+
${arch}= Set Variable IA32
184+
${target}= Set Variable DEBUG
185+
${package}= Set Variable ArmVirtPkg
186+
${ci_file}= Set Variable ${package}${/}PlatformCI${/}PlatformBuild.py
187+
188+
# make sure on default branch
189+
Reset git repo to default branch ${ws_root} ${default_branch}
190+
191+
Stuart setup ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
192+
Stuart update ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
193+
Build BaseTools ${tool_chain} ${ws_root}
194+
Stuart platform build ${ci_file} ${arch} ${target} ${tool_chain} ${ws_root}
195+
Stuart platform run ${ci_file} ${arch} ${target} ${tool_chain} MAKE_STARTUP_NSH\=TRUE ${ws_root}
196+
197+
Run Edk2 ArmVirt IA32 RELEASE
198+
[Documentation] This test will run IA32 RELEASE build for ArmVirtPkg
199+
[Tags] PlatformCI ArmVirtPkg IA32 GCC5 Ubuntu Qemu Edk2
200+
${arch}= Set Variable IA32
201+
${target}= Set Variable RELEASE
202+
${package}= Set Variable ArmVirtPkg
203+
${ci_file}= Set Variable ${package}${/}PlatformCI${/}PlatformBuild.py
204+
205+
# make sure on default branch
206+
Reset git repo to default branch ${ws_root} ${default_branch}
207+
208+
Stuart setup ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
209+
Stuart update ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
210+
Build BaseTools ${tool_chain} ${ws_root}
211+
Stuart platform build ${ci_file} ${arch} ${target} ${tool_chain} ${ws_root}
212+
Stuart platform run ${ci_file} ${arch} ${target} ${tool_chain} MAKE_STARTUP_NSH\=TRUE ${ws_root}
213+
214+
Run Edk2 ArmVirt X64 DEBUG
215+
[Documentation] This test will run X64 DEBUG build for ArmVirtPkg
216+
[Tags] PlatformCI ArmVirtPkg X64 GCC5 Ubuntu Qemu Edk2
217+
${arch}= Set Variable X64
218+
${target}= Set Variable DEBUG
219+
${package}= Set Variable ArmVirtPkg
220+
${ci_file}= Set Variable ${package}${/}PlatformCI${/}PlatformBuild.py
221+
222+
# make sure on default branch
223+
Reset git repo to default branch ${ws_root} ${default_branch}
224+
225+
Stuart setup ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
226+
Stuart update ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
227+
Build BaseTools ${tool_chain} ${ws_root}
228+
Stuart platform build ${ci_file} ${arch} ${target} ${tool_chain} ${ws_root}
229+
Stuart platform run ${ci_file} ${arch} ${target} ${tool_chain} MAKE_STARTUP_NSH\=TRUE ${ws_root}
230+
231+
Run Edk2 ArmVirt X64 RELEASE
232+
[Documentation] This test will run X64 RELEASE build for ArmVirtPkg
233+
[Tags] PlatformCI ArmVirtPkg X64 GCC5 Ubuntu Qemu Edk2
234+
${arch}= Set Variable X64
235+
${target}= Set Variable RELEASE
236+
${package}= Set Variable ArmVirtPkg
237+
${ci_file}= Set Variable ${package}${/}PlatformCI${/}PlatformBuild.py
238+
239+
# make sure on default branch
240+
Reset git repo to default branch ${ws_root} ${default_branch}
241+
242+
Stuart setup ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
243+
Stuart update ${ci_file} ${arch} ${target} ${package} ${tool_chain} ${ws_root}
244+
Build BaseTools ${tool_chain} ${ws_root}
245+
Stuart platform build ${ci_file} ${arch} ${target} ${tool_chain} ${ws_root}
246+
Stuart platform run ${ci_file} ${arch} ${target} ${tool_chain} MAKE_STARTUP_NSH\=TRUE ${ws_root}

0 commit comments

Comments
 (0)