Skip to content

Commit 75024b8

Browse files
author
H. Peter Anvin (Intel)
committed
test: remove test/performtest.pl and redirect {test,golden} targets
Remove the long-since-unmaintained test/performtest.pl script and redirect the "test" and "golden" Makefile targets to their respective travis targets. The test/ directory still has two important functions: 1. Running ad hoc tests manually. The test/ directory has infrastructure for running a quick test manually in a large number of configurations. This is highly useful during development. 2. It contains the infrastructure for running regression tests on external applications, far too big to include into NASM itself. Reported-by: Ross Burton <ross@burtonini.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
1 parent c0b64a6 commit 75024b8

4 files changed

Lines changed: 2 additions & 242 deletions

File tree

Makefile.in

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -562,25 +562,16 @@ nasm.spec: nasm.spec.in nasm.spec.sed version.sed perlbreq.si
562562
splint:
563563
splint -weak *.c
564564

565-
.PHONY: test
566-
test: $(PROGS)
567-
cd $(srcdir)/test && \
568-
$(RUNPERL) performtest.pl --nasm=../nasm$(X) *.asm
569-
570-
golden: $(PROGS)
571-
cd $(srcdir)/test && \
572-
$(RUNPERL) performtest.pl --golden --nasm=../nasm$(X) *.asm
573-
574565
#
575566
# Travis tests
576567
#
577-
travis: $(PROGS)
568+
travis test: $(PROGS)
578569
$(MAKE) -f travis.mk all
579570

580571
clean-travis travis-clean:
581572
$(MAKE) -f travis.mk clean
582573

583-
update-travis travis-update:
574+
update-travis travis-update golden:
584575
$(MAKE) -f travis.mk update
585576

586577
#

test/Makefile.in

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,6 @@ cryptography-primitivestest:
118118

119119
all:
120120

121-
golden: performtest.pl $(TESTS)
122-
$(PERL) performtest.pl --golden --nasm='$(NASM)' $(TESTS)
123-
124-
test: performtest.pl $(NASM) $(TESTS)
125-
$(PERL) performtest.pl --nasm='$(NASM)' $(TESTS)
126-
127-
diff: performtest.pl $(NASM) $(TESTS)
128-
$(PERL) performtest.pl --diff --nasm='$(NASM)' $(TESTS)
129-
130121
clean:
131122
$(RM_F) *.com *.o *.o64 *.aout *.obj *.win32 *.win64 *.exe *.lst *.bin
132123
$(RM_F) *.bin *.bin16 *.bin32 *.bin64

test/bisect.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

test/performtest.pl

Lines changed: 0 additions & 200 deletions
This file was deleted.

0 commit comments

Comments
 (0)