Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Commit

Permalink
#49 - run tests as part of package builds. Ignore failures. Respect D…
Browse files Browse the repository at this point in the history
…EB_BUILD_OPTIONS=nocheck
  • Loading branch information
rcoup committed Oct 3, 2012
1 parent 741231a commit f7a7e45
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 8 deletions.
10 changes: 8 additions & 2 deletions debian-nightlies/0.7.x/debian/rules
Expand Up @@ -15,8 +15,14 @@ else
export CFLAGS += -O3
endif

override_dh_auto_test:

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
else:
override_dh_auto_test:
# the test suite does not 100% pass on all platforms/boost versions,
# but the output is useful :)
dh_auto_test; echo "Overall Test Exit Code: $?"
endif

override_dh_auto_configure:
scons $(SCONS_FLAGS) CUSTOM_CXXFLAGS="$(CFLAGS)" configure
Expand Down
10 changes: 8 additions & 2 deletions debian-nightlies/2.0.x/debian/rules
Expand Up @@ -18,8 +18,14 @@ else
export CFLAGS += -O3
endif

override_dh_auto_test:

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
else:
override_dh_auto_test:
# the test suite does not 100% pass on all platforms/boost versions,
# but the output is useful :)
dh_auto_test; echo "Overall Test Exit Code: $?"
endif

override_dh_auto_configure:
scons $(SCONS_FLAGS) CUSTOM_CXXFLAGS="$(CFLAGS)" configure
Expand Down
10 changes: 8 additions & 2 deletions debian-nightlies/2.1.x/debian/rules
Expand Up @@ -18,8 +18,14 @@ else
export CFLAGS += -O3
endif

override_dh_auto_test:

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
else:
override_dh_auto_test:
# the test suite does not 100% pass on all platforms/boost versions,
# but the output is useful :)
dh_auto_test; echo "Overall Test Exit Code: $?"
endif

override_dh_auto_configure:
scons $(SCONS_FLAGS) CUSTOM_CXXFLAGS="$(CFLAGS)" configure
Expand Down
10 changes: 8 additions & 2 deletions debian-nightlies/master/debian/rules
Expand Up @@ -18,8 +18,14 @@ else
export CFLAGS += -O3
endif

override_dh_auto_test:

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
else:
override_dh_auto_test:
# the test suite does not 100% pass on all platforms/boost versions,
# but the output is useful :)
dh_auto_test; echo "Overall Test Exit Code: $?"
endif

override_dh_auto_configure:
scons $(SCONS_FLAGS) CUSTOM_CXXFLAGS="$(CFLAGS)" configure
Expand Down

0 comments on commit f7a7e45

Please sign in to comment.