(info_add)
| 740 | |
| 741 | |
| 742 | def collect_test_socket(info_add): |
| 743 | import unittest |
| 744 | try: |
| 745 | from test import test_socket |
| 746 | except (ImportError, unittest.SkipTest): |
| 747 | return |
| 748 | |
| 749 | # all check attributes like HAVE_SOCKET_CAN |
| 750 | attributes = [name for name in dir(test_socket) |
| 751 | if name.startswith('HAVE_')] |
| 752 | copy_attributes(info_add, test_socket, 'test_socket.%s', attributes) |
| 753 | |
| 754 | # Get IOCTL_VM_SOCKETS_GET_LOCAL_CID of /dev/vsock |
| 755 | cid = test_socket.get_cid() |
| 756 | info_add('test_socket.get_cid', cid) |
| 757 | |
| 758 | |
| 759 | def collect_support(info_add): |
nothing calls this directly
no test coverage detected
searching dependent graphs…