Weird. I managed to run the test on a POWER9 box today, too, and it works for me:
TEST: tests/prom-env-test... (pid=18912) /ppc64/prom-env/mac99: OK /ppc64/prom-env/g3beige: OK /ppc64/prom-env/pseries: OK PASS: tests/prom-env-test
Which OS and C compiler are you using?
Also, could you please try to add this patch (to add "-serial /dev/stderr") and then post the console output of the prom-env-test:
diff --git a/tests/prom-env-test.c b/tests/prom-env-test.c --- a/tests/prom-env-test.c +++ b/tests/prom-env-test.c @@ -51,7 +51,7 @@ static void test_machine(const void *machine) extra_args = strcmp(machine, "pseries") == 0 ? "-nodefaults" : "";
args = g_strdup_printf("-M %s,accel=tcg %s -prom-env 'use-nvramrc?=true' " - "-prom-env 'nvramrc=%x %x l!' ", + "-prom-env 'nvramrc=%x %x l!' -serial /dev/stderr", (const char *)machine, extra_args, MAGIC, ADDRESS);
qtest_start(args);
Weird. I managed to run the test on a POWER9 box today, too, and it works for me:
TEST: tests/prom- env-test. .. (pid=18912) prom-env/ mac99: OK prom-env/ g3beige: OK prom-env/ pseries: OK
/ppc64/
/ppc64/
/ppc64/
PASS: tests/prom-env-test
Which OS and C compiler are you using?
Also, could you please try to add this patch (to add "-serial /dev/stderr") and then post the console output of the prom-env-test:
diff --git a/tests/ prom-env- test.c b/tests/ prom-env- test.c prom-env- test.c prom-env- test.c
--- a/tests/
+++ b/tests/
@@ -51,7 +51,7 @@ static void test_machine(const void *machine)
extra_args = strcmp(machine, "pseries") == 0 ? "-nodefaults" : "";
args = g_strdup_printf("-M %s,accel=tcg %s -prom-env 'use-nvramrc?=true' "
(const char *)machine, extra_args, MAGIC, ADDRESS);
- "-prom-env 'nvramrc=%x %x l!' ",
+ "-prom-env 'nvramrc=%x %x l!' -serial /dev/stderr",
qtest_ start(args) ;