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>
#include "util.h"
#include "memory.h"
#include "virfile.h"
+#include "testutils.h"
+
+#ifndef WIN32
static int envsort(const void *a, const void *b) {
error:
return EXIT_FAILURE;
}
+
+#else
+
+int
+main(void)
+{
+ return EXIT_AM_SKIP;
+}
+
+#endif
#include <stdio.h>
#include "internal.h"
+#include "testutils.h"
+
+#ifndef WIN32
int main(int argc, char **argv)
{
return 0;
}
+
+#else
+
+int
+main(void)
+{
+ return EXIT_AM_SKIP;
+}
+
+#endif