[packages/netcdf] - disable known failing test
baggins
baggins at pld-linux.org
Thu Dec 5 23:45:55 CET 2024
commit 34a06e8f15ecbd2eaa1a8b3e9966dfb4fe7ee292
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Dec 5 23:45:27 2024 +0100
- disable known failing test
https://github.com/Unidata/netcdf-c/issues/2433
disable-bad-test.patch | 11 +++++++++++
netcdf.spec | 4 ++++
2 files changed, 15 insertions(+)
---
diff --git a/netcdf.spec b/netcdf.spec
index 5a26b1c..dd451c3 100644
--- a/netcdf.spec
+++ b/netcdf.spec
@@ -18,6 +18,7 @@ Group: Libraries
Source0: https://downloads.unidata.ucar.edu/netcdf-c/%{version}/%{name}-c-%{version}.tar.gz
# Source0-md5: f48ee01534365006934f0c63d4055ea0
Patch0: size_t.patch
+Patch1: disable-bad-test.patch
URL: https://www.unidata.ucar.edu/software/netcdf/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
@@ -89,6 +90,9 @@ Statyczna wersja biblioteki netCDF dla C.
%prep
%setup -q -n %{name}-c-%{version}
%patch -P 0 -p1
+%ifarch %{ix86}
+%patch -P 1 -p1
+%endif
%if %{without tests_net}
# assumes at least 2 processors are available via MPI
diff --git a/disable-bad-test.patch b/disable-bad-test.patch
new file mode 100644
index 0000000..9ab4916
--- /dev/null
+++ b/disable-bad-test.patch
@@ -0,0 +1,11 @@
+--- netcdf-c-4.9.2/ncdump/Makefile.am~ 2023-03-13 22:47:11.000000000 +0100
++++ netcdf-c-4.9.2/ncdump/Makefile.am 2024-12-05 23:44:10.334748804 +0100
+@@ -150,7 +150,7 @@
+ TESTS += tst_output.sh
+ TESTS += tst_nccopy3.sh
+ if USE_HDF5
+-TESTS += run_back_comp_tests.sh tst_netcdf4_4.sh
++TESTS += run_back_comp_tests.sh
+ TESTS += tst_nccopy4.sh tst_nccopy5.sh tst_calendars_nc4.sh
+ endif
+ endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netcdf.git/commitdiff/34a06e8f15ecbd2eaa1a8b3e9966dfb4fe7ee292
More information about the pld-cvs-commit
mailing list