mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
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:
parent
12f0d2ece9
commit
57351139a7
@ -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
|
||||
|
13
tests/ssh.c
13
tests/ssh.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user