[pandas] 01/02: Exclude certain tests on certain architectures
Andreas Tille
tille at debian.org
Fri Oct 13 21:28:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch debian
in repository pandas.
commit ef7fe027598b52262cd70a95a411cddab5d57d85
Author: Andreas Tille <tille at debian.org>
Date: Fri Oct 13 20:52:48 2017 +0200
Exclude certain tests on certain architectures
---
debian/changelog | 1 +
debian/rules | 13 ++-----------
2 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index dff0749..4a317b4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pandas (0.20.3-4) UNRELEASED; urgency=medium
* Team upload.
* Moved packaging from pkg-exppsy to Debian Science
+ * Exclude certain tests on certain architectures
-- Andreas Tille <tille at debian.org> Fri, 13 Oct 2017 20:32:33 +0200
diff --git a/debian/rules b/debian/rules
index 286e365..186ae36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,17 +24,8 @@ UVER_PYSHORT := $(shell echo $(UVER_PY) | sed -e 's,+git.*,,g')
MIN_CYTHONVER = 0.23
-ifneq ($(DEB_HOST_ARCH),amd64)
- # obtained by grep -e 'ERROR:' -e 'FAIL:' pandas-sid.log |awk '{print $2;}' | sed -e 's,^test,,g' | tr '\n' '|'
- # on log of failed tests on mips build box on pandas 0.19.2-1
- # Majority of them is probably due to a bug in NumPy https://github.com/numpy/numpy/issues/8325
- # of incorrectly treating NaT on non-amd64 platforms
- # So for stretch release for now disabling those tests on non-amd64
- # plot ones are excluded due to seems to be a bug in matplotlib which shows up
- # on s390
- # EXCLUDE_TESTS_ARCH := --exclude 'test(_frame_from_json_to_json|_misc_example|ArrayNumpyLabelled|DataFrameNumpyLabelled|_resample_timedelta_values|_timestamp_compare|_where_timedelta|ArrayNumpyExcept|_resample_datetime_values|_NaT_cast|_where_datetime|_where_datetime|_datetimelikes_nan|_value_counts_normalized|_agg_dict_parameter_cast_result_dtypes|_boxplot|_boxplot_vertical|_errorbar_plot|_hist_df|_line_area_stacked|_plot|_round_trip_valid_encodings)'
- # Try without excludes now that we are so much in the future ;)
- EXCLUDE_TESTS_ARCH :=
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), arm64 armel armhf mips mips64el mipsel s390x alpha hppa powerpc ppc64))
+ EXCLUDE_TESTS_ARCH := --exclude 'test(test_value_counts_normalized|test_resample_timedelta_values|test_resample_datetime_values|test_datetimelikes_nan|test_where_datetime|test_timestamp_compare|test_agg_dict_parameter_cast_result_dtypes|test_NaT_cast|test_where_datetime|test_where_timedelta)'
else
EXCLUDE_TESTS_ARCH :=
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pandas.git
More information about the debian-science-commits
mailing list