diff mbox series

[kvm-unit-tests,v9,25/31] powerpc: Add sieve.c common test

Message ID 20240504122841.1177683-26-npiggin@gmail.com (mailing list archive)
State New, archived
Headers show
Series powerpc improvements | expand

Commit Message

Nicholas Piggin May 4, 2024, 12:28 p.m. UTC
Now that sieve copes with lack of MMU support, it can be run by
powerpc.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
 powerpc/Makefile.common | 1 +
 powerpc/sieve.c         | 1 +
 powerpc/unittests.cfg   | 3 +++
 3 files changed, 5 insertions(+)
 create mode 120000 powerpc/sieve.c

Comments

Thomas Huth June 4, 2024, 9:30 a.m. UTC | #1
On 04/05/2024 14.28, Nicholas Piggin wrote:
> Now that sieve copes with lack of MMU support, it can be run by
> powerpc.
> 
> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
> ---
>   powerpc/Makefile.common | 1 +
>   powerpc/sieve.c         | 1 +
>   powerpc/unittests.cfg   | 3 +++
>   3 files changed, 5 insertions(+)
>   create mode 120000 powerpc/sieve.c

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/powerpc/Makefile.common b/powerpc/Makefile.common
index 7378b1137..b2e89e4fd 100644
--- a/powerpc/Makefile.common
+++ b/powerpc/Makefile.common
@@ -8,6 +8,7 @@  tests-common = \
 	$(TEST_DIR)/selftest.elf \
 	$(TEST_DIR)/selftest-migration.elf \
 	$(TEST_DIR)/memory-verify.elf \
+	$(TEST_DIR)/sieve.elf \
 	$(TEST_DIR)/spapr_hcall.elf \
 	$(TEST_DIR)/rtas.elf \
 	$(TEST_DIR)/emulator.elf \
diff --git a/powerpc/sieve.c b/powerpc/sieve.c
new file mode 120000
index 000000000..fe299f309
--- /dev/null
+++ b/powerpc/sieve.c
@@ -0,0 +1 @@ 
+../common/sieve.c
\ No newline at end of file
diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
index 286e11782..c7cda819d 100644
--- a/powerpc/unittests.cfg
+++ b/powerpc/unittests.cfg
@@ -120,3 +120,6 @@  file = sprs.elf
 machine = pseries
 extra_params = -append '-w'
 groups = migration
+
+[sieve]
+file = sieve.elf