Fix test failed

This commit is contained in:
yang_zhuang_zhuang 2021-05-27 10:54:27 +08:00
parent 6bd0a253d3
commit a8b0bef40e
2 changed files with 29 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Name: automake Name: automake
Version: 1.16.2 Version: 1.16.2
Release: 1 Release: 2
Summary: A tool for automatically generating Makefile.in files Summary: A tool for automatically generating Makefile.in files
License: GPLv2+ and GFDL and Public Domain and MIT License: GPLv2+ and GFDL and Public Domain and MIT
URL: http://www.gnu.org/software/automake/ URL: http://www.gnu.org/software/automake/
@ -12,6 +12,8 @@ Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub Source1: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
Patch1: tests-require-etags-for-tags-lisp-space-test.patch
BuildArch: noarch BuildArch: noarch
#disable am-prog-cc-c-o ccnoco ccnoco-lib test #disable am-prog-cc-c-o ccnoco ccnoco-lib test
@ -73,6 +75,9 @@ fi
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Thu May 27 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 1.16.2-2
- Fix test failed
* Thu Jul 16 2020 wangchen <wangchen137@huawei.com> - 1.16.2-1 * Thu Jul 16 2020 wangchen <wangchen137@huawei.com> - 1.16.2-1
- Update to 1.16.2 - Update to 1.16.2

View File

@ -0,0 +1,23 @@
From 77d39959511295f5a30332d5d03f0a6956bd9460 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 24 Mar 2020 18:30:18 -0700
Subject: [PATCH] tests: require etags for tags-lisp-space test.
* t/tags-lisp-space.sh (required): set to etags.
---
t/tags-lisp-space.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/tags-lisp-space.sh b/t/tags-lisp-space.sh
index d0a940ba3..44312b0b7 100755
--- a/t/tags-lisp-space.sh
+++ b/t/tags-lisp-space.sh
@@ -18,7 +18,7 @@
# if there are CONFIG_HEADERS.
# See automake bug#38139.
-required=''
+required=etags
. test-init.sh
# some AC_CONFIG_FILES header is needed to trigger the bug.