-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deprecate 32-bit support * Pivot and Hive related changes * Moving bbr tests from EFI/BOOT to acs_tests * added standalone sct version patches - added patches for sbbr and ebbr - script changes to apply the patches. Signed-off-by: Amrathesh <[email protected]> Change-Id: Iae7d5895ab337ccb784514b9158dd6a00d663ba9 --------- Signed-off-by: Amrathesh <[email protected]> Co-authored-by: Amrathesh <[email protected]>
- Loading branch information
1 parent
22f9b84
commit 3b8fe44
Showing
28 changed files
with
378 additions
and
3,287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright (c) 2021-2024, Arm Limited or its affiliates. All rights reserved. | ||
# SPDX-License-Identifier : Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
## | ||
|
||
echo -off | ||
|
||
for %i in 0 1 2 3 4 5 6 7 8 9 A B C D E F | ||
if exist FS%i:\acs_tests\bbr\SCT then | ||
# | ||
# Found EFI SCT harness | ||
# | ||
FS%i: | ||
cd FS%i:\acs_tests\bbr\SCT | ||
echo "Press any key to stop the BBSR SCT running" | ||
stallforkey.efi 5 | ||
if %lasterror% == 0 then | ||
goto Done | ||
endif | ||
for %j in 0 1 2 3 4 5 6 7 8 9 A B C D E F then | ||
if exists FS%j:\acs_results\ then | ||
if exists FS%j:\acs_results\BBSR\sct_results then | ||
|
||
#Check if SCT run has already completed | ||
if exist FS%j:\acs_results\BBSR\sct_results\Overall\Summary.log then | ||
echo "BBSR SCT has completed run." | ||
echo "Press any key to start BBSR SCT execution from the beginning." | ||
echo "WARNING: Ensure you have backed up the existing logs." | ||
stallforkey.efi 5 | ||
if %lasterror% == 0 then | ||
#Backup the existing logs | ||
rm -q FS%j:\acs_results\BBSR\sct_results_previous_run | ||
mkdir FS%j:\acs_results\BBSR\sct_results_previous_run | ||
cp -r FS%j:\acs_results\BBSR\sct_results FS%j:\acs_results\sct_results_previous_run | ||
rm -q FS%j:\acs_results\BBSR\sct_results | ||
goto StartSCT | ||
else | ||
goto Done | ||
endif | ||
endif | ||
|
||
if exist FS%i:\acs_tests\bbr\SCT\.passive.mode then | ||
if exist FS%i:\acs_tests\bbr\SCT\.verbose.mode then | ||
Sct -c -p mnp -v | ||
else | ||
Sct -c -p mnp | ||
endif | ||
else | ||
if exist FS%i:\acs_tests\bbr\SCT\.verbose.mode then | ||
Sct -c -v | ||
else | ||
Sct -c | ||
endif | ||
|
||
#SCT execution has finished. Copy the logs to acs_results | ||
if exist FS%j:\acs_results\sct_results\ then | ||
if exist FS%i:\acs_tests\bbr\SCT\Overall then | ||
cp -r FS%i:\acs_tests\bbr\SCT\Overall FS%j:\acs_results\BBSR\sct_results\ | ||
endif | ||
if exist FS%i:\acs_tests\bbr\SCT\Sequence then | ||
cp -r FS%i:\acs_tests\bbr\SCT\Sequence\BBSR.seq FS%j:\acs_results\BBSR\sct_results\ | ||
endif | ||
#Restart to avoid an impact of running SCT tests on rest of the suites | ||
echo "Reset the system ..." | ||
reset | ||
endif | ||
endif | ||
else | ||
:StartSCT | ||
FS%j: | ||
cd FS%j:\acs_results | ||
mkdir BBSR | ||
cd FS%j:\acs_results\BBSR | ||
mkdir sct_results | ||
FS%i: | ||
cd FS%i:\acs_tests\bbr\SCT | ||
Sct -s BBSR.seq | ||
goto Done | ||
endif | ||
endif | ||
endfor | ||
endif | ||
endfor | ||
|
||
:Done |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.