mirror of https://gitee.com/openkylin/libvirt.git
tests: Use EXIT_AM_SKIP instead of 77 directly
This commit is contained in:
parent
6ca8d68d70
commit
4540f8d227
|
@ -280,9 +280,9 @@ VIRT_TEST_MAIN(mymain)
|
|||
|
||||
#else
|
||||
|
||||
int main (void)
|
||||
int main(void)
|
||||
{
|
||||
return 77; /* means 'test skipped' for automake */
|
||||
return EXIT_AM_SKIP;
|
||||
}
|
||||
|
||||
#endif /* WITH_ESX */
|
||||
|
|
|
@ -485,6 +485,9 @@ VIRT_TEST_MAIN(mymain)
|
|||
|
||||
#else
|
||||
|
||||
int main (void) { return (77); /* means 'test skipped' for automake */ }
|
||||
int main(void)
|
||||
{
|
||||
return EXIT_AM_SKIP;
|
||||
}
|
||||
|
||||
#endif /* WITH_QEMU */
|
||||
|
|
|
@ -548,6 +548,9 @@ VIRT_TEST_MAIN(mymain)
|
|||
|
||||
#else
|
||||
|
||||
int main (void) { return (77); /* means 'test skipped' for automake */ }
|
||||
int main(void)
|
||||
{
|
||||
return EXIT_AM_SKIP;
|
||||
}
|
||||
|
||||
#endif /* WITH_QEMU */
|
||||
|
|
|
@ -283,9 +283,9 @@ VIRT_TEST_MAIN(mymain)
|
|||
|
||||
#else
|
||||
|
||||
int main (void)
|
||||
int main(void)
|
||||
{
|
||||
return 77; /* means 'test skipped' for automake */
|
||||
return EXIT_AM_SKIP;
|
||||
}
|
||||
|
||||
#endif /* WITH_VMX */
|
||||
|
|
|
@ -294,9 +294,9 @@ VIRT_TEST_MAIN(mymain)
|
|||
|
||||
#else
|
||||
|
||||
int main (void)
|
||||
int main(void)
|
||||
{
|
||||
return 77; /* means 'test skipped' for automake */
|
||||
return EXIT_AM_SKIP;
|
||||
}
|
||||
|
||||
#endif /* WITH_VMX */
|
||||
|
|
Loading…
Reference in New Issue