enable make check
Signed-off-by: ExtinctFire <shenyining_00@126.com>
This commit is contained in:
parent
8f1a6a125b
commit
64ab4976f1
30
enable-make-check.patch
Normal file
30
enable-make-check.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
From 4d663e5249f94b49d7af474c345f96a4b9ffd931 Mon Sep 17 00:00:00 2001
|
||||||
|
From: ExtinctFire <shenyining_00@126.com>
|
||||||
|
Date: Sat, 27 Nov 2021 09:44:16 +0800
|
||||||
|
Subject: [PATCH] add check summary
|
||||||
|
|
||||||
|
Signed-off-by: ExtinctFire <shenyining_00@126.com>
|
||||||
|
---
|
||||||
|
Makefile.in | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile.in b/Makefile.in
|
||||||
|
index 5725ed3..9282215 100644
|
||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -497,10 +497,10 @@ splint:
|
||||||
|
splint -weak *.c
|
||||||
|
|
||||||
|
test: nasm$(X)
|
||||||
|
- cd test && $(RUNPERL) performtest.pl --nasm=../nasm *.asm
|
||||||
|
+ cd test && $(RUNPERL) performtest.pl --nasm=../nasm *.asm --verbose
|
||||||
|
|
||||||
|
golden: nasm$(X)
|
||||||
|
- cd test && $(RUNPERL) performtest.pl --golden --nasm=../nasm *.asm
|
||||||
|
+ cd test && $(RUNPERL) performtest.pl --golden --nasm=../nasm *.asm --verbose
|
||||||
|
|
||||||
|
travis: nasm$(X)
|
||||||
|
$(PYTHON3) travis/nasm-t.py run
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
10
nasm.spec
10
nasm.spec
@ -8,13 +8,14 @@
|
|||||||
|
|
||||||
Name: nasm
|
Name: nasm
|
||||||
Version: 2.15.05
|
Version: 2.15.05
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
|
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.nasm.us
|
URL: http://www.nasm.us
|
||||||
Source0: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.bz2
|
Source0: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.bz2
|
||||||
Source1: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}-xdoc.tar.bz2
|
Source1: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}-xdoc.tar.bz2
|
||||||
|
|
||||||
|
Patch6000: enable-make-check.patch
|
||||||
|
|
||||||
#https://bugzilla.nasm.us/attachment.cgi?id=411648
|
#https://bugzilla.nasm.us/attachment.cgi?id=411648
|
||||||
BuildRequires: perl(Env) autoconf asciidoc xmlto gcc make git
|
BuildRequires: perl(Env) autoconf asciidoc xmlto gcc make git
|
||||||
@ -59,6 +60,10 @@ make all %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install install_rdf
|
%make_install install_rdf
|
||||||
|
|
||||||
|
%check
|
||||||
|
make golden
|
||||||
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGES README.md
|
%doc CHANGES README.md
|
||||||
%license AUTHORS
|
%license AUTHORS
|
||||||
@ -84,6 +89,9 @@ make all %{?_smp_mflags}
|
|||||||
%{_mandir}/man1/ld*
|
%{_mandir}/man1/ld*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 27 2021 ExtinctFire <shenyining_00@126.com> - 2.15.05-2
|
||||||
|
- enable make check
|
||||||
|
|
||||||
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 2.15.05-1
|
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 2.15.05-1
|
||||||
- upgrade version to 2.15.05
|
- upgrade version to 2.15.05
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user