Disable build of commandhelper & ssh on Win32

The commandhelper.c & ssh.c programs rely on various APIs not present
on Win32. Disable them, since the tests that uses these helpers are
already disabled

* tests/commandhelper.c, tests/ssh.c: Disable on WIN32

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2012-03-29 10:50:00 +01:00
parent 12f0d2ece9
commit 57351139a7
2 changed files with 26 additions and 0 deletions

View File

@ -30,6 +30,9 @@
#include "util.h"
#include "memory.h"
#include "virfile.h"
#include "testutils.h"
#ifndef WIN32
static int envsort(const void *a, const void *b) {
@ -140,3 +143,13 @@ int main(int argc, char **argv) {
error:
return EXIT_FAILURE;
}
#else
int
main(void)
{
return EXIT_AM_SKIP;
}
#endif

View File

@ -22,6 +22,9 @@
#include <stdio.h>
#include "internal.h"
#include "testutils.h"
#ifndef WIN32
int main(int argc, char **argv)
{
@ -52,3 +55,13 @@ int main(int argc, char **argv)
return 0;
}
#else
int
main(void)
{
return EXIT_AM_SKIP;
}
#endif