summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-12-18 18:57:00 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-12-18 18:57:00 -0800
commit5307832cd1216faeff74f3322c4d6bb65e44b6e0 (patch)
tree9cca7809b14c79bc85b5b60dd7105f09cb71a7ea /Makefile.in
parent5358b98405d24e9300a48a74c685eb6fd4da5cd2 (diff)
downloadnasm-5307832cd1216faeff74f3322c4d6bb65e44b6e0.tar.gz
Makefile.in: add target for running travis
Just like "make test", add "make travis". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 0ac5ebe6..f106f126 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -40,6 +40,8 @@ PERL = perl
PERLFLAGS = -I$(srcdir)/perllib -I$(srcdir)
RUNPERL = $(PERL) $(PERLFLAGS)
+PYTHON3 = python3
+
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
@@ -468,6 +470,9 @@ test: nasm$(X)
golden: nasm$(X)
cd test && $(RUNPERL) performtest.pl --golden --nasm=../nasm *.asm
+travis: nasm$(X)
+ $(PYTHON3) travis/nasm-t.py run
+
#
# Rules to run autoreconf if necessary
#