Skip to contentSkip to conversation

tests: Fix nonnative tests labeled as native

PATCH In review Glenn Washburn 3 participants 3 messages Nov 21, 2025 – Nov 22, 2025 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: Fix nonnative tests labeled as native

The tests asn1_test and tpm2_key_protector_test should be labelled as nonnative tests because they run tests on the target. A clue that indicates a nonnative test is the usage of the grub-shell script.

---
 Makefile.util.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile.util.def +2 -2
index e59f08f57917..04146ff037db 100644
@@ -1300,13 +1300,13 @@ script = {
 };
 
 script = {
-  testcase = native;
+  testcase = nonnative;
   name = asn1_test;
   common = tests/asn1_test.in;
 };
 
 script = {
-  testcase = native;
+  testcase = nonnative;
   name = tpm2_key_protector_test;
   common = tests/tpm2_key_protector_test.in;
 };
Signature · 7 lines
2.34.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Glenn Washburn

The tests asn1_test and tpm2_key_protector_test should be labelled as nonnative tests because they run tests on the target. A clue that indicates a nonnative test is the usage of the grub-shell script.

Thanks,
Sudhakar

Quoted 32 lines

---
Makefile.util.def | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
Makefile.util.def +2 -2
index e59f08f57917..04146ff037db 100644
@@ -1300,13 +1300,13 @@ script = {
 };
 
 script = {
-  testcase = native;
+  testcase = nonnative;
  name = asn1_test;
  common = tests/asn1_test.in;
 };
 
 script = {
-  testcase = native;
+  testcase = nonnative;
  name = tpm2_key_protector_test;
  common = tests/tpm2_key_protector_test.in;
 };
Signature · 7 lines
2.34.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reviewed-by on v1 1/1
#2 lore raw
In reply to Glenn Washburn
Quoted 5 lines · Glenn Washburn

The tests asn1_test and tpm2_key_protector_test should be labelled as nonnative tests because they run tests on the target. A clue that indicates a nonnative test is the usage of the grub-shell script.

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel