hdf5/Disable-phdf5-tests.patch
Christian Goll f5645d586f Accepting request 726430 from home:anag:branches:science
- Update to version 1.10.5:
  * https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5-RELEASE.txt
- Bump fortran library soname, sonum_F from 100 to 102.
- Adjust library installation path, use %hpc_prefix/lib64 in x86_64 
  and %hpc_libdir in all other cases
- Patches refreshed:
  * hdf5-LD_LIBRARY_PATH.patch
  * hdf5-1.8.11-abort_unknown_host_config.patch
  * PPC64LE-Fix-long-double-handling.patch
  * hdf5-Remove-timestamps-from-binaries.patch
  * Disable-phdf5-tests.patch
- Patch disabled, upstream have changed the file that was being patched,
  while it could be ported, it's unknown if this patch is still needed.
  * hdf5-mpi.patch
- Patch removed, merged upstream
  * 0001-Fix-return-value-in-test_libver_bounds_open.patch

OBS-URL: https://build.opensuse.org/request/show/726430
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=111
2019-09-03 07:57:43 +00:00

37 lines
1.8 KiB
Diff

From: Egbert Eich <eich@suse.com>
Date: Sat Nov 17 20:11:13 2018 +0100
Subject: Disable phdf5 tests
Patch-mainline: never
Git-commit: 16d758d17d9c49ab9e34d510675929b9ccc8be5a
References:
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
Index: hdf5-1.10.5/testpar/CMakeTests.cmake
===================================================================
--- hdf5-1.10.5.orig/testpar/CMakeTests.cmake
+++ hdf5-1.10.5/testpar/CMakeTests.cmake
@@ -30,7 +30,7 @@ set (SKIP_testphdf5 "")
# set (SKIP_testphdf5 "${SKIP_testphdf5};-x;ecdsetw")
#endif ()
-add_test (NAME MPI_TEST_testphdf5 COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS} ${SKIP_testphdf5})
+## add_test (NAME MPI_TEST_testphdf5 COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS} ${SKIP_testphdf5})
set_tests_properties (MPI_TEST_testphdf5 PROPERTIES
FIXTURES_REQUIRED par_clear_testphdf5
ENVIRONMENT "HDF5_ALARM_SECONDS=3600;srcdir=${HDF5_TEST_PAR_BINARY_DIR}"
Index: hdf5-1.10.5/testpar/Makefile.am
===================================================================
--- hdf5-1.10.5.orig/testpar/Makefile.am
+++ hdf5-1.10.5/testpar/Makefile.am
@@ -30,7 +30,7 @@ check_SCRIPTS = $(TEST_SCRIPT_PARA)
# Test programs. These are our main targets.
#
-TEST_PROG_PARA=t_mpi t_bigio testphdf5 t_cache t_cache_image t_pread t_pshutdown t_prestart t_init_term t_shapesame t_filters_parallel
+TEST_PROG_PARA=t_mpi t_bigio t_cache t_cache_image t_pread t_pshutdown t_prestart t_init_term t_shapesame t_filters_parallel
# t_pflush1 and t_pflush2 are used by testpflush.sh
check_PROGRAMS = $(TEST_PROG_PARA) t_pflush1 t_pflush2