[ovs-dev] [PATCH] ovn-controller-vtep.at: Skip test when using Windows setup.

Gurucharan Shetty shettyg at nicira.com
Mon Aug 17 22:11:33 UTC 2015


On Mon, Aug 17, 2015 at 3:09 PM, Alex Wang <alexw at nicira.com> wrote:
> The 'ovs-vtep' simulator is not ported to Windows.  So, for now,
> just skip all tests in ovn-controller-vtep.at when running in
> Windows.
>
> Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Gurucharan Shetty <gshetty at nicira.com>
> ---
>  tests/ovn-controller-vtep.at |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/tests/ovn-controller-vtep.at b/tests/ovn-controller-vtep.at
> index 01a87fd..64e314d 100644
> --- a/tests/ovn-controller-vtep.at
> +++ b/tests/ovn-controller-vtep.at
> @@ -11,7 +11,11 @@ AT_BANNER([ovn_controller_vtep])
>  #
>  #
>  m4_define([OVN_CONTROLLER_VTEP_START],
> -  [OVS_RUNDIR=`pwd`; export OVS_RUNDIR
> +  [
> +   # this will cause skip when 'make check' using Windows setup.
> +   AT_SKIP_IF([test $HAVE_PYTHON = no])
> +
> +   OVS_RUNDIR=`pwd`; export OVS_RUNDIR
>     OVS_LOGDIR=`pwd`; export OVS_LOGDIR
>     OVS_DBDIR=`pwd`; export OVS_DBDIR
>     OVS_SYSCONFDIR=`pwd`; export OVS_SYSCONFDIR
> --
> 1.7.9.5
>



More information about the dev mailing list