Skip to content

Commit

Permalink
test/barrier: relocate tbarrier test
Browse files Browse the repository at this point in the history
Relocate "tbarrier" from src/test to t/barrier, like all
the other sharness-drive C test programs.
  • Loading branch information
garlick committed Jun 13, 2017
1 parent dd3c265 commit 666f56e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/test/Makefile.am
Expand Up @@ -10,8 +10,7 @@ AM_CPPFLAGS = \
$(ZMQ_CFLAGS)

check_PROGRAMS = \
tmunge \
tbarrier
tmunge

noinst_SCRIPTS = \
soak.sh \
Expand Down
8 changes: 7 additions & 1 deletion t/Makefile.am
Expand Up @@ -180,7 +180,8 @@ check_PROGRAMS = \
kvs/commitmerge \
kvs/basic \
module/basic \
request/treq
request/treq \
barrier/tbarrier

check_LTLIBRARIES = \
module/parent.la \
Expand Down Expand Up @@ -349,6 +350,11 @@ module_child_la_LDFLAGS = $(fluxmod_ldflags) -module -rpath /nowher
module_child_la_LIBADD = \
$(test_ldadd) $(LIBDL) $(LIBUTIL)

barrier_tbarrier_SOURCES = barrier/tbarrier.c
barrier_tbarrier_CPPFLAGS = $(test_cppflags)
barrier_tbarrier_LDADD = \
$(test_ldadd) $(LIBDL) $(LIBUTIL)

module_basic_SOURCES = module/basic.c
module_basic_CPPFLAGS = $(test_cppflags)
module_basic_LDADD = \
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion t/t1001-barrier-basic.t
Expand Up @@ -11,7 +11,7 @@ before other tests that depend on barriers.
. `dirname $0`/sharness.sh
SIZE=4
test_under_flux ${SIZE} minimal
tbarrier="${FLUX_BUILD_DIR}/src/test/tbarrier"
tbarrier="${FLUX_BUILD_DIR}/t/barrier/tbarrier"
test "$verbose" = "t" || tbarrier="${tbarrier} -q"

test_expect_success 'barrier: load barrier module' '
Expand Down

0 comments on commit 666f56e

Please sign in to comment.