Skip to content

Commit 50aa22a

Browse files
committed
hello_show_help.c: update simple show_help test
Remove all references to ORTE, since ORTE is now gone. Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent 4028527 commit 50aa22a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

test/simple/hello_show_help.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <stdio.h>
1313
#include <unistd.h>
1414

15-
#include "orte/util/show_help.h"
15+
#include "opal/util/show_help.h"
1616

1717
int main(int argc, char *argv[])
1818
{
@@ -27,8 +27,8 @@ int main(int argc, char *argv[])
2727
opal_output(0,
2828
"============================================================================");
2929
opal_output(
30-
0, "This test ensures that the aggregation functionality of the orte_show_help\nsystem "
31-
"is working properly. It outputs a bogus warning about orte_init(),\nand contains "
30+
0, "This test ensures that the aggregation functionality of the opal_show_help\nsystem "
31+
"is working properly. It outputs a bogus warning about opal_init(),\nand contains "
3232
"sleep statements to ensure that the timer is firiing properly\nin the HNP and "
3333
"aggregates messages properly. The total sleep time is\n(3 * num_procs). You "
3434
"should see:\n\n - aggregation messages from the HNP every five seconds or so\n - a "
@@ -38,13 +38,12 @@ int main(int argc, char *argv[])
3838
}
3939
MPI_Barrier(MPI_COMM_WORLD);
4040

41-
orte_show_help("help-orte-runtime.txt", "orte_init:startup:internal-failure", true, "Nothing",
42-
"ORTE_EVERYTHING_IS_PEACHY", "42");
41+
opal_show_help("help-opal-runtime.txt", "opal_init:startup:internal-failure",
42+
true, "Nothing", 42);
4343
sleep(rank * 3);
4444

45-
orte_show_help("help-orte-runtime.txt", "orte_init:startup:internal-failure", true,
46-
"Duplicate orte_show_help detection", "ORTE_SHOW_HELP_DUPLICATE_FAILED",
47-
"99999");
45+
opal_show_help("help-opal-runtime.txt", "opal_init:startup:internal-failure", true,
46+
true, "Duplicate opal_show_help detection", 42);
4847

4948
MPI_Barrier(MPI_COMM_WORLD);
5049

0 commit comments

Comments
 (0)