mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tests: virstoragetest: fix --without-yajl
Recently added JSON tests should be skipped if compiled --without-yajl https://bugzilla.redhat.com/show_bug.cgi?id=1463435
This commit is contained in:
parent
eabb0002ca
commit
8a129b75e2
@ -1359,6 +1359,8 @@ mymain(void)
|
||||
"<source protocol='nbd' name='blah'>\n"
|
||||
" <host name='example.org' port='6000'/>\n"
|
||||
"</source>\n");
|
||||
|
||||
#ifdef WITH_YAJL
|
||||
TEST_BACKING_PARSE("json:", NULL);
|
||||
TEST_BACKING_PARSE("json:asdgsdfg", NULL);
|
||||
TEST_BACKING_PARSE("json:{}", NULL);
|
||||
@ -1573,6 +1575,7 @@ mymain(void)
|
||||
"<source protocol='sheepdog' name='test'>\n"
|
||||
" <host name='example.com' port='321'/>\n"
|
||||
"</source>\n");
|
||||
#endif /* WITH_YAJL */
|
||||
|
||||
cleanup:
|
||||
/* Final cleanup */
|
||||
|
Loading…
Reference in New Issue
Block a user