Skip to content

Commit

Permalink
scripts: include help message about docker-run-checks on macOS
Browse files Browse the repository at this point in the history
Recently, several core developers have noted that the docker-run-checks.sh
script borks when command-line options that specify values do so with an
equals sign rather than a space. Since this is not super intuitive, update
the usage/help message for that script accordingly.
  • Loading branch information
wihobbs committed Mar 8, 2024
1 parent 6bbe29c commit 35c4123
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/test/docker/docker-run-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,22 @@ Options:\n\
--inception Run tests as flux jobs\n\
--system Run under system instance\n\
-q, --quiet Add --quiet to docker-build\n\
-t, --tag=TAG If checks succeed, tag image as NAME\n\
-i, --image=NAME Use base docker image NAME (default=$IMAGE)\n\
-p, --platform=NAME Run on alternate platform (if supported)\n\
-S, --flux-security-version=N Install flux-security vers N (default=$FLUX_SECURITY_VERSION)\n
-j, --jobs=N Value for make -j (default=$JOBS)\n
-t, --tag TAG If checks succeed, tag image as NAME\n\
-i, --image NAME Use base docker image NAME (default=$IMAGE)\n\
-p, --platform NAME Run on alternate platform (if supported)\n\
-S, --flux-security-version N Install flux-security vers N (default=$FLUX_SECURITY_VERSION)\n
-j, --jobs N Value for make -j (default=$JOBS)\n
-d, --distcheck Run 'make distcheck' instead of 'make check'\n\
-r, --recheck Run 'make recheck' after failure\n\
-u, --unit-test-only Only run unit tests\n\
--quick-check Only run check-prep and one basic test\n\
-P, --no-poison Do not install poison libflux and flux(1)\n\
-D, --build-directory=DIRNAME Name of a subdir to build in, will be made\n\
--workdir=PATH Use PATH as working directory for build\n\
-D, --build-directory DIRNAME Name of a subdir to build in, will be made\n\
--workdir PATH Use PATH as working directory for build\n\
-I, --interactive Instead of running ci build, run docker\n\
image with interactive shell.\n\
NOTE: on Darwin/macOS be sure not to use equals signs (=) for specifying options; instead use\n\
spaces. This is a known issue with macOS's version of getopt.\n\
"

# check if running in OSX
Expand Down

0 comments on commit 35c4123

Please sign in to comment.