diff mbox series

[4/4] live-image: add "TPM tests" to root menu

Message ID 20210617201153.67045-4-alex.hung@canonical.com
State Accepted
Headers show
Series [1/4] tpmevlog: add to batch tests | expand

Commit Message

Alex Hung June 17, 2021, 8:11 p.m. UTC
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 live-image/fwts-frontend-text | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Colin Ian King June 18, 2021, 10:08 p.m. UTC | #1
On 17/06/2021 21:11, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  live-image/fwts-frontend-text | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
> index 815b09ee..897a922f 100755
> --- a/live-image/fwts-frontend-text
> +++ b/live-image/fwts-frontend-text
> @@ -380,6 +380,7 @@ do
>  			"All" "All Batch Tests" on \
>  			"ACPI" "ACPI Tests" off \
>  			"UEFI" "UEFI Tests" off \
> +			"TPM" "TPM Tests" off \
>  			"EBBR" "ARM EBBR Tests" off \
>  			"SBBR" "ARM SBBR Tests" off \
>  			"Recommended" "Recommended Tests" off \
> @@ -396,6 +397,7 @@ do
>  			"All" "All Batch Tests" on \
>  			"ACPI" "ACPI Tests" off \
>  			"UEFI" "UEFI Tests" off \
> +			"TPM" "TPM Tests" off \
>  			"Recommended" "Recommended Tests" off \
>  			"Recommended for IFV" "Recommended Tests for F/W Vendors" off \
>  			"Selected" "Select Individual Tests" off \
> @@ -430,6 +432,10 @@ do
>  			do_test "--uefitests" 'Running UEFI Tests'
>  			done_tests_finish
>  			;;
> +		'TPM')
> +			do_test "tpm2 tpmevlog tpmevlogdump" 'Running TPM Tests'
> +			done_tests_finish
> +			;;
>  		'EBBR')
>  			do_test "--ebbr" 'Embedded Base Boot Requirements (EBBR) Tests'
>  			done_tests_finish
> 


Acked-by: Colin Ian King <colin.king@canonical.com>
ivanhu June 21, 2021, 2:54 a.m. UTC | #2
On 6/18/21 4:11 AM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  live-image/fwts-frontend-text | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
> index 815b09ee..897a922f 100755
> --- a/live-image/fwts-frontend-text
> +++ b/live-image/fwts-frontend-text
> @@ -380,6 +380,7 @@ do
>  			"All" "All Batch Tests" on \
>  			"ACPI" "ACPI Tests" off \
>  			"UEFI" "UEFI Tests" off \
> +			"TPM" "TPM Tests" off \
>  			"EBBR" "ARM EBBR Tests" off \
>  			"SBBR" "ARM SBBR Tests" off \
>  			"Recommended" "Recommended Tests" off \
> @@ -396,6 +397,7 @@ do
>  			"All" "All Batch Tests" on \
>  			"ACPI" "ACPI Tests" off \
>  			"UEFI" "UEFI Tests" off \
> +			"TPM" "TPM Tests" off \
>  			"Recommended" "Recommended Tests" off \
>  			"Recommended for IFV" "Recommended Tests for F/W Vendors" off \
>  			"Selected" "Select Individual Tests" off \
> @@ -430,6 +432,10 @@ do
>  			do_test "--uefitests" 'Running UEFI Tests'
>  			done_tests_finish
>  			;;
> +		'TPM')
> +			do_test "tpm2 tpmevlog tpmevlogdump" 'Running TPM Tests'
> +			done_tests_finish
> +			;;
>  		'EBBR')
>  			do_test "--ebbr" 'Embedded Base Boot Requirements (EBBR) Tests'
>  			done_tests_finish
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
index 815b09ee..897a922f 100755
--- a/live-image/fwts-frontend-text
+++ b/live-image/fwts-frontend-text
@@ -380,6 +380,7 @@  do
 			"All" "All Batch Tests" on \
 			"ACPI" "ACPI Tests" off \
 			"UEFI" "UEFI Tests" off \
+			"TPM" "TPM Tests" off \
 			"EBBR" "ARM EBBR Tests" off \
 			"SBBR" "ARM SBBR Tests" off \
 			"Recommended" "Recommended Tests" off \
@@ -396,6 +397,7 @@  do
 			"All" "All Batch Tests" on \
 			"ACPI" "ACPI Tests" off \
 			"UEFI" "UEFI Tests" off \
+			"TPM" "TPM Tests" off \
 			"Recommended" "Recommended Tests" off \
 			"Recommended for IFV" "Recommended Tests for F/W Vendors" off \
 			"Selected" "Select Individual Tests" off \
@@ -430,6 +432,10 @@  do
 			do_test "--uefitests" 'Running UEFI Tests'
 			done_tests_finish
 			;;
+		'TPM')
+			do_test "tpm2 tpmevlog tpmevlogdump" 'Running TPM Tests'
+			done_tests_finish
+			;;
 		'EBBR')
 			do_test "--ebbr" 'Embedded Base Boot Requirements (EBBR) Tests'
 			done_tests_finish