[1/2] travis: set GCOV for zdtm.py too

Submitted by Andrei Vagin on July 5, 2016, 7:57 p.m.

Details

Message ID 1467748624-10480-1-git-send-email-avagin@openvz.org
State Accepted
Series "Series without cover letter"
Commit c462d86ffd981ff738a253ee1226128003f87f41
Headers show

Commit Message

Andrei Vagin July 5, 2016, 7:57 p.m.
From: Andrew Vagin <avagin@virtuozzo.com>

It's required for collection full report for tests
which are executed in separate mount namespaces.

Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
---
 scripts/travis-tests | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/scripts/travis-tests b/scripts/travis-tests
index 2e386c1..57a0be8 100755
--- a/scripts/travis-tests
+++ b/scripts/travis-tests
@@ -8,7 +8,8 @@  apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev	\
 	libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev	\
 	libnl-3-dev gcc-multilib libc6-dev-i386
 chmod a+x $HOME
-make GCOV=1
+export GCOV=1
+make
 make -C test/zdtm
 python test/zdtm.py run -a -x 'cgroup*'
 

Comments

Andrey Vagin July 6, 2016, 3:09 p.m.
Pls, ignore this series. I forgot one patch.

On Tue, Jul 05, 2016 at 10:57:03PM +0300, Andrey Vagin wrote:
> From: Andrew Vagin <avagin@virtuozzo.com>
> 
> It's required for collection full report for tests
> which are executed in separate mount namespaces.
> 
> Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
> ---
>  scripts/travis-tests | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/travis-tests b/scripts/travis-tests
> index 2e386c1..57a0be8 100755
> --- a/scripts/travis-tests
> +++ b/scripts/travis-tests
> @@ -8,7 +8,8 @@ apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev	\
>  	libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev	\
>  	libnl-3-dev gcc-multilib libc6-dev-i386
>  chmod a+x $HOME
> -make GCOV=1
> +export GCOV=1
> +make
>  make -C test/zdtm
>  python test/zdtm.py run -a -x 'cgroup*'
>  
> -- 
> 2.7.4
>