Accepting request 920256 from home:aschnell:branches:Base:System

- run checks during build

OBS-URL: https://build.opensuse.org/request/show/920256
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=149
This commit is contained in:
Thomas Renninger 2021-09-21 12:01:38 +00:00 committed by Git OBS Bridge
parent f0409653a9
commit 9caf8cccbf
3 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 20 07:35:15 CEST 2021 - aschnell@suse.com
- run checks during build
- added patches:
tests-disable.patch
-------------------------------------------------------------------
Mon Jul 26 16:50:36 CEST 2021 - aschnell@suse.com

View File

@ -74,6 +74,7 @@ Patch101: fatresize-fix-getting-dev-name.patch
# Tests patches
Patch156: tests-add-helper-require_swap_.patch
Patch157: tests-add-dev-md-check-to-t6100.patch
Patch158: tests-disable.patch
# SUSE tests patches
Patch200: tests-adapt-to-SUSE.patch
@ -157,6 +158,7 @@ to develop applications that require these.
%patch101 -p1
%patch156 -p1
%patch157 -p1
%patch158 -p1
%patch200 -p1
%build
@ -170,6 +172,9 @@ AUTOPOINT=true autoreconf --force --install
--disable-silent-rules
make %{?_smp_mflags}
%check
make check
%install
%make_install
rm %{buildroot}%{_libdir}/*.la

25
tests-disable.patch Normal file
View File

@ -0,0 +1,25 @@
diff --git a/libparted/tests/Makefile.am b/libparted/tests/Makefile.am
index c92a3a3..915bbc4 100644
--- a/libparted/tests/Makefile.am
+++ b/libparted/tests/Makefile.am
@@ -3,7 +3,7 @@
#
# This file may be modified and/or distributed without restriction.
-TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh t4000-volser.sh
+TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh
EXTRA_DIST = $(TESTS)
check_PROGRAMS = label disk zerolen symlink volser
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f9340aa..9d0d08f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -60,7 +60,6 @@ TESTS = \
t3200-resize-partition.sh \
t3200-type-change.sh \
t3300-palo-prep.sh \
- t3310-flags.sh \
t3400-whole-disk-FAT-partition.sh \
t4000-sun-raid-type.sh \
t4001-sun-vtoc.sh \