Skip to content

Commit

Permalink
Merge pull request #1563 from masatake/show-diff-of-failure-cases-in-…
Browse files Browse the repository at this point in the history
…circleci

Show diff of failure cases in circleci
  • Loading branch information
masatake committed Sep 29, 2017
2 parents 4fc2821 + 480dc46 commit fbffd78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- run:
name: Test
command: |
make check
bmake check CIRCLECI=1
8 changes: 4 additions & 4 deletions makefiles/testing.mak
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ units: $(CTAGS_TEST)
if test x$(VG) = x1; then \
VALGRIND=--with-valgrind; \
fi; \
if test x$(TRAVIS) = x1 || test x$(APPVEYOR) = x1; then \
if ! test x$(TRAVIS)$(APPVEYOR)$(CIRCLECI) = x; then \
SHOW_DIFF_OUTPUT=--show-diff-output; \
fi; \
builddir=$$(pwd); \
Expand All @@ -91,7 +91,7 @@ units: $(CTAGS_TEST)
$${VALGRIND} --run-shrink \
--with-timeout=`expr $(TIMEOUT) '*' 10`\
$${SHOW_DIFF_OUTPUT}"; \
TRAVIS=$(TRAVIS) APPVEYOR=$(APPVEYOR) \
TRAVIS=$(TRAVIS) APPVEYOR=$(APPVEYOR) CIRCLECI=$(CIRCLECI)\
$(SHELL) $${c} $(srcdir)/Units $${builddir}/Units

clean-units:
Expand All @@ -109,7 +109,7 @@ tmain: $(CTAGS_TEST)
if test x$(VG) = x1; then \
VALGRIND=--with-valgrind; \
fi; \
if test x$(TRAVIS) = x1 || test x$(APPVEYOR) = x1; then \
if ! test x$(TRAVIS)$(APPVEYOR)$(CIRCLECI) = x; then \
SHOW_DIFF_OUTPUT=--show-diff-output; \
fi; \
builddir=$$(pwd); \
Expand All @@ -120,7 +120,7 @@ tmain: $(CTAGS_TEST)
--units=$(UNITS) \
$${VALGRIND} \
$${SHOW_DIFF_OUTPUT}"; \
TRAVIS=$(TRAVIS) APPVEYOR=$(APPVEYOR) \
TRAVIS=$(TRAVIS) APPVEYOR=$(APPVEYOR) CIRCLECI=$(CIRCLECI)\
$(SHELL) $${c} $(srcdir)/Tmain $${builddir}/Tmain

clean-tmain:
Expand Down

0 comments on commit fbffd78

Please sign in to comment.