From 74f127787b85d2e2f5c29a84729624b3957ee82a Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Thu, 10 Nov 2016 10:25:41 +0100 Subject: [PATCH] NB_LOOPS ?= -i1 --- .travis.yml | 2 +- tests/Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index edb78f5..cff9290 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ matrix: - libc6-dev-i386 - gcc-multilib - - env: Ubu=14.04 Cmd='make -C test-fullbench32 versionsTest' COMPILER=cc + - env: Ubu=14.04 Cmd='make -C tests test-fullbench32 versionsTest' COMPILER=cc dist: trusty sudo: required addons: diff --git a/tests/Makefile b/tests/Makefile index 2a11442..3c62173 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -39,7 +39,7 @@ MANDIR := $(PREFIX)/share/man/man1 LZ4DIR := ../lib PRGDIR := ../programs TESTDIR := versionsTest -PYTHON?= python3 +PYTHON ?= python3 CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes @@ -59,6 +59,7 @@ endif # Default test parameters TEST_FILES := COPYING FUZZER_TIME := -T3mn +NB_LOOPS ?= -i1 default: bins