Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update autotools, add Travis-CI support, and remove some unused code #93

Merged
merged 41 commits into from
Jun 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e240511
tests: look for built modules under .libs
grondo Jun 19, 2017
6721633
pdsh/testconfig.c: load in-tree modules from .libs
grondo Jun 19, 2017
e1bcd63
build: remove all autotools generated output files
grondo Jun 19, 2017
3e8e2a1
remove unused ltdl.h from modules
grondo Jun 21, 2017
bb7b6e2
pdsh: use straight dlopen instead of libltdl
grondo Jun 19, 2017
fb5d1fb
build: commit results of autoupdate, fix warnings
grondo Jun 19, 2017
5f19fc1
build: remove non-portable Makefile function
grondo Jun 19, 2017
91a956e
rcmd: remove qcmd/mqcmd remote execution module
grondo Jun 19, 2017
5689afd
etc: remove the etc subdirectory
grondo Jun 21, 2017
1d9cecd
configure: remove --with-pam
grondo Jun 21, 2017
ffb94f3
misc: remove rmsquery module
grondo Jun 19, 2017
885f93a
misc: remove SDR module
grondo Jun 19, 2017
62ed648
misc: remove nodeattr module
grondo Jun 21, 2017
ecfc7d1
remove unused xpopen implementation
grondo Jun 21, 2017
632e0fb
doc: remove unsupported modules from pdsh manpage
grondo Jun 19, 2017
e6d5086
pdsh.spec: remove unsupported modules
grondo Jun 20, 2017
26fd897
config/ac_static_modules.m4: remove some modules
grondo Jun 21, 2017
e6e6832
configure: remove old modules from rcmd_rank_list
grondo Jun 20, 2017
bc18115
update README and README.modules
grondo Jun 21, 2017
283bdbb
build: Remove META file
grondo Jun 20, 2017
94314a7
build: simplify bootstrap file
grondo Jun 20, 2017
f4d196f
build: enable silent rules for automake
grondo Jun 20, 2017
6cc64f1
tests: t1001-genders.sh requires bash
grondo Jun 19, 2017
9e9155f
tests: update to TAP-capable test driver
grondo Jun 20, 2017
e6fd07a
tests: fix for vpath builds
grondo Jun 20, 2017
165dda3
travis-ci: add script for travis-ci deps
grondo Jun 20, 2017
2508a99
travis-ci: initial config for travis-ci.org
grondo Jun 19, 2017
625ac8a
pdsh/opt.c: fix compiler warning
grondo Jun 20, 2017
e4d47b6
tests: fix compiler warning in pcptest
grondo Jun 20, 2017
c931440
common/pipecmd.c: remove unused variable
grondo Jun 20, 2017
f60cccd
xrcmd: add missing return code checks on write(2)
grondo Jun 20, 2017
1e474b9
mcmd: check write(2) return codes
grondo Jun 20, 2017
fe93b85
netgroup: fix compiler warning
grondo Jun 20, 2017
f8779b3
pdsh: check return code of system(3)
grondo Jun 20, 2017
33b3a13
pdsh: check return code for setuid(2)
grondo Jun 20, 2017
b057e18
tests/pcptest: remove unused variable
grondo Jun 20, 2017
71672bd
pcp_server: check return codes on write
grondo Jun 20, 2017
a0c91cc
sshcmd,execcmd: check result of setuid
grondo Jun 21, 2017
3054664
privsep: fix compiler warnings
grondo Jun 21, 2017
5c14609
travis-ci: Add -Werror to travis builds
grondo Jun 21, 2017
9cc020c
build: add code coverage target for make check
grondo Jun 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
sudo: false
# dist: trusty
language: c

addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- libmunge-dev
- libgenders0-dev
- genders
- clang-3.8
- gcc-6

cache:
directories:
- $HOME/local
- $HOME/.local

env:
- CC=gcc
- CC=clang
- CC=gcc-6
- CC=clang-3.8

script:
- export CFLAGS=-Werror
- scripts/travis-ci-deps.sh
- eval $(scripts/travis-ci-deps.sh --printenv)
- ./bootstrap
- ./configure --with-exec --with-ssh --with-mrsh --with-genders --with-dshgroups --with-netgroup --with-machines
- make -j 2 check
9 changes: 0 additions & 9 deletions META

This file was deleted.

17 changes: 13 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ include $(top_srcdir)/config/Make-inc.mk

ACLOCAL_AMFLAGS = -I config
AUTOMAKE_OPTIONS = foreign dist-bzip2
CONFIG_STATUS_DEPENDENCIES = META
SUBDIRS = src tests doc etc scripts config
SUBDIRS = src tests doc scripts config

maintainer-clean-local:
-(cd $(top_srcdir) && rm -rf autom4te.cache)
Expand Down Expand Up @@ -39,9 +38,19 @@ MAINTAINERCLEANFILES = \
stamp-h.in

EXTRA_DIST = \
DISCLAIMER META \
DISCLAIMER \
pdsh.spec \
README.KRB4 \
README.QsNet \
README.modules \
bootstrap

# coverage

CODE_COVERAGE_IGNORE_PATTERN = \
"/tests/*" \
"/pdsh/cbuf.*" \
"/common/hostlist.*" \
"/usr/*"

CODE_COVERAGE_LCOV_OPTIONS =
@CODE_COVERAGE_RULES@
Loading