Skip to content

Commit

Permalink
Fix minor issues found in tests.
Browse files Browse the repository at this point in the history
* Don't accidentally remove source files in make clean
* Silence compiler warnings

Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
  • Loading branch information
samuelkgutierrez authored and rhc54 committed Feb 5, 2023
1 parent c561a60 commit 5d030c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# 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) 2023 Triad National Security, LLC. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
Expand All @@ -37,8 +38,8 @@ TESTS = \
double-get \
get-nofence \
get-immediate \
attachtest/app.c \
attachtest/tool.c \
attachtest/app \
attachtest/tool \
abort \
simple_spawn \
hello \
Expand Down
4 changes: 2 additions & 2 deletions test/loop_spawn.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ int main(int argc, char **argv)
"Usage: %s\n Options:\n"
" [-i N] [number of iterations]\n"
" [-s] [Sync mode - wait for termination before spawning next child]\n"
" [-v] [Verbose]\n",
" [-v] [Verbose]\n"
" [-r N] [Report progress every N iterations]\n",
argv[0]);
exit(1);
Expand All @@ -122,7 +122,7 @@ int main(int argc, char **argv)
"Usage: %s\n Options:\n"
" [-i N] [number of iterations]\n"
" [-s] [Sync mode - wait for termination before spawning next child]\n"
" [-v] [Verbose]\n",
" [-v] [Verbose]\n"
" [-r N] [Report progress every N iterations]\n",
argv[0]);
exit(1);
Expand Down

0 comments on commit 5d030c9

Please sign in to comment.