print XER as well
diff --git a/tests/tests-randomized/random-test-driver.c b/tests/tests-randomized/random-test-driver.c
index 32d6136..242e55c 100644
--- a/tests/tests-randomized/random-test-driver.c
+++ b/tests/tests-randomized/random-test-driver.c
@@ -291,8 +291,10 @@
if(cmp != 0) {
fprintf(stderr, "Random %s value:\n", ASN1_STR);
asn_fprint(stderr, &asn_DEF_T, structure);
+ xer_fprint(stderr, &asn_DEF_T, structure);
fprintf(stderr, "Decoded %s value:\n", ASN1_STR);
asn_fprint(stderr, &asn_DEF_T, decoded_structure);
+ xer_fprint(stderr, &asn_DEF_T, decoded_structure);
assert(cmp == 0);
}
ASN_STRUCT_FREE(asn_DEF_T, structure);