Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve the clichk test code for future use #1887

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}