Skip to content

Commit 665d5b5

Browse files
committed
Slurm doesn't have a public method for determining the default config
path or checking it without invoking the parsing function that will wait 60 seconds for the config to exist. Skip functional tests in make distcheck when running autodist by setting SLURM_CONF=/dev/null because the functional tests won't work there anyway.
1 parent eafff97 commit 665d5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autodist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if [ "${PACKAGE_VERSION}" != "${PACKAGE_RELEASE}" ]; then
7070
fi
7171
7272
make dist
73-
DISTCHECK_CONFIGURE_FLAGS="CFLAGS='-I../../../../drmaa_utils -I../../..'" make distcheck
73+
SLURM_CONF=/dev/null DISTCHECK_CONFIGURE_FLAGS="CFLAGS='-I../../../../drmaa_utils -I../../..'" make distcheck
7474
EOF
7575

7676
docker build -t $dimg $dctx

0 commit comments

Comments
 (0)