[Spice-devel] [PATCH 2/9] build-sys: check for spicy-screenshot

Marc-André Lureau mlureau at redhat.com
Mon Nov 18 02:33:38 PST 2013


It's an old patch, I should have modified those as well:

server/tests/test_multiple.py:parser.add_argument('--client', default='spicy')
tests/migrate.py:    parser.add_argument('--client', dest='client', default='spicy', choices=['spi

----- Original Message -----
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> ---
>  configure.ac | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 882bf1b..22e3889 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -147,7 +147,7 @@ AS_IF([test x"$enable_client" != "xno"],
> [enable_client="yes"])
>  AM_CONDITIONAL(SUPPORT_CLIENT, test "x$enable_client" = "xyes")
>  
>  AC_ARG_ENABLE(automated_tests,
> -[  --enable-automated-tests     Enable automated tests using snappy (part of
> spice--gtk)],,
> +[  --enable-automated-tests     Enable automated tests using
> spicy-screenshot (part of spice--gtk)],,
>  [enable_automated_tests="no"])
>  AS_IF([test x"$enable_automated_tests" != "xno"],
>  [enable_automated_tests="yes"])
>  AM_CONDITIONAL(SUPPORT_AUTOMATED_TESTS, test "x$enable_automated_tests" !=
>  "xno")
> @@ -404,11 +404,11 @@ AC_SUBST([SASL_CFLAGS])
>  AC_SUBST([SASL_LIBS])
>  
>  if test "x$enable_automated_tests" = "xyes"; then
> -    AC_MSG_CHECKING([for snappy])
> -    snappy --help >/dev/null 2>&1
> +    AC_MSG_CHECKING([for spicy-screenshot])
> +    spicy-screenshot --help >/dev/null 2>&1
>      if test $? -ne 0 ; then
>          AC_MSG_RESULT([not found])
> -        AC_MSG_ERROR([snappy was not found, this module is part of spice-gtk
> andis required to compile this package])
> +        AC_MSG_ERROR([spicy-screenshot was not found, this module is part of
> spice-gtk andis required to compile this package])
>      fi
>      AC_MSG_RESULT([found])
>  fi
> --
> 1.8.3.1
> 
> 


More information about the Spice-devel mailing list