It's a step forward, then.  I sent out an official patch, I'd appreciate
it if anyone out there is willing to test it:
        http://openvswitch.org/pipermail/dev/2015-June/056833.html

On Thu, Jun 25, 2015 at 01:19:14AM +0000, Alin Serdean wrote:
> +1.
> 
> We still need to add the description for the SYSTEM one or put in another 
> patch using the setx command (https://support.microsoft.com/en-us/kb/195050).
> 
> Alin.
> 
> -----Mesaj original-----
> De la: Ben Pfaff [mailto:b...@nicira.com] 
> Trimis: Thursday, June 25, 2015 3:22 AM
> Către: Gurucharan Shetty
> Cc: Alin Serdean; dev@openvswitch.org
> Subiect: Re: [ovs-dev] [PATCH 3/3] Update windows test documentation
> 
> On Wed, Jun 24, 2015 at 07:43:03AM -0700, Gurucharan Shetty wrote:
> > On Tue, Jun 23, 2015 at 6:11 PM, Alin Serdean 
> > <aserd...@cloudbasesolutions.com> wrote:
> > > How about the following:
> > >
> > > Before running the unit tests make sure to add the pthread libraries 
> > > to your PATH environment variable.
> > The above is already part of the documentation with the following wording:
> > 
> > You should add the pthread-win32's dll path (e.g.: C:\pthread\dll\x86) 
> > to the Windows' PATH environment variable.
> > 
> > So why repeat it?
> 
> Can we just fix this, instead of making users deal with it, with something 
> like this?
> 
> diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index f89cde0..18d874a 
> 100644
> --- a/m4/openvswitch.m4
> +++ b/m4/openvswitch.m4
> @@ -86,9 +86,11 @@ AC_DEFUN([OVS_CHECK_WIN32],
>              AC_MSG_ERROR([Invalid --with-pthread value])
>                ;;
>              *)
> +            PTHREAD_WIN32_DIR=$withval/lib/x86
>              PTHREAD_INCLUDES="-I$withval/include"
>              PTHREAD_LDFLAGS="-L$withval/lib/x86"
>              PTHREAD_LIBS="-lpthreadVC2"
> +            AC_SUBST([PTHREAD_WIN32_DIR])
>              AC_SUBST([PTHREAD_INCLUDES])
>              AC_SUBST([PTHREAD_LDFLAGS])
>              AC_SUBST([PTHREAD_LIBS])
> diff --git a/tests/automake.mk b/tests/automake.mk index 3f57114..714bc91 
> 100644
> --- a/tests/automake.mk
> +++ b/tests/automake.mk
> @@ -95,7 +95,7 @@ TESTSUITE_PATCH = $(srcdir)/tests/testsuite.patch  
> KMOD_TESTSUITE = $(srcdir)/tests/kmod-testsuite  DISTCLEANFILES += 
> tests/atconfig tests/atlocal
>  
> -AUTOTEST_PATH = utilities:vswitchd:ovsdb:vtep:tests
> +AUTOTEST_PATH = 
> +utilities:vswitchd:ovsdb:vtep:tests:$(PTHREAD_WIN32_DIR)
>  
>  check-local: tests/atconfig tests/atlocal $(TESTSUITE)
>       $(SHELL) '$(TESTSUITE)' -C tests AUTOTEST_PATH=$(AUTOTEST_PATH) 
> $(TESTSUITEFLAGS)
> 
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to