Skip to content

Commit

Permalink
Preserve the clichk test code for future use
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Castain <[email protected]>
(cherry picked from commit 45ed5b3)
  • Loading branch information
rhc54 committed Dec 8, 2023
1 parent 3becd9d commit 33aa509
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ test/qspawn
test/filegen
test/iostress
test/spawn_multiple
test/clichk

docs/_build
docs/_static
Expand Down
5 changes: 3 additions & 2 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved.
# Copyright (c) 2013 Mellanox Technologies, Inc. All rights reserved.
# Copyright (c) 2016-2020 Intel, Inc. All rights reserved.
# Copyright (c) 2021-2022 Nanook Consulting. All rights reserved.
# Copyright (c) 2021-2023 Nanook Consulting. All rights reserved.
# Copyright (c) 2023 Triad National Security, LLC. All rights reserved.
# $COPYRIGHT$
#
Expand Down Expand Up @@ -50,7 +50,8 @@ TESTS = \
cmspawn \
qspawn \
iostress \
filegen
filegen \
clichk

all: $(TESTS)

Expand Down
14 changes: 14 additions & 0 deletions test/clichk.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#define _GNU_SOURCE
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

#include <pmix.h>

int main(int argc, char **argv)
{
char *tmp = PMIx_Argv_join(argv, ' ');
fprintf(stderr, "CMDLINE: %s\n", tmp);
return 0;
}

0 comments on commit 33aa509

Please sign in to comment.