mochi-hpc / mochi-ssg

Scalable Service Groups (SSG), a group membership service for Mochi
Other
1 stars 1 forks source link

Remove check for "timeout" command #46

Open mdorier opened 3 years ago

mdorier commented 3 years ago

configure will fail if the timeout command is not available. This command is available via the coreutils package, so either (1) the mochi-ssg package should depend on coreutils, or (2) better, remove hard requirement on timeout in ssg (I think it's used only for tests).

carns commented 3 years ago

FWIW the mochi-margo package has this same test but tweaked so that it's not a hard requirement (it just emits a warning and disables the tests if not found):

https://github.com/mochi-hpc/mochi-margo/blob/main/configure.ac#L33

I think that's a good compromise. The timeout is helpful for testing on other platforms where it is readily available so that tests don't get stuck indefinitely if something hangs.