forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: a subset of flux works on macos so far, but because we do not run 'make check' in CI, regressions are likely. Add a script that runs specific tests known to work on macos. Call it from the macos builder in CI.
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# Check what should work so far in src/common on macos | ||
|
||
die() { | ||
echo "$(basename $0): $@" >&2 | ||
exit 1 | ||
} | ||
|
||
CONF_SCRIPT=scripts/configure-macos.sh | ||
|
||
test -f $CONF_SCRIPT || die "please run from the top level of the source tree" | ||
test -f configure || die "please run $CONF_SCRIPT first" | ||
|
||
COMMON_WORKING="libtap libtestutil libyuarel libpmi liblsd libutil libflux libfluxutil libkvs libjob liboptparse libidset libtomlc99 libschedutil libeventlog libioencode librouter libdebugged libcontent libjob libhostlist libczmqcontainers libccan libzmqutil libtaskmap libfilemap libsdexec libmissing" | ||
COMMON_BROKEN="libsubprocess libterminus librlist" | ||
|
||
make -j4 -C src/common check SUBDIRS="$COMMON_WORKING" || die "check failed" | ||
|
||
cat >&2 <<-EOT | ||
============================================= | ||
* Well the unit tests that worked before on macos still work! | ||
* However, please note that the macos port of flux-core is incomplete. | ||
* Search for 'macos' at https://github.com/flux-framework/flux-core/issues | ||
* for portability issues that still need to be resolved. | ||
============================================= | ||
EOT |