Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

#49 - run tests as part of package builds. Ignore failures. Respect D…

…EB_BUILD_OPTIONS=nocheck
  • Loading branch information...
commit f7a7e45183381d054338fd76d8d07c3b4beb4040 1 parent 741231a
@rcoup rcoup authored
View
10 debian-nightlies/0.7.x/debian/rules
@@ -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
View
10 debian-nightlies/2.0.x/debian/rules
@@ -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
View
10 debian-nightlies/2.1.x/debian/rules
@@ -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
View
10 debian-nightlies/master/debian/rules
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.