Dave Airlie
332b82e6e3
tests: make some functions static.
9 years ago
Marc-André Lureau
e1eef9a7f9
tests: use checked fixture
...
The checked fixture run in the child test process.
Fix leaks found thanks to AddressSanitizer.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
9 years ago
Dave Airlie
ebcc110592
tests: make buffer size larger for bad stride test
10 years ago
Dave Airlie
621629e32f
tests: add 2d array bad layer stride
...
pass a layer stride too small for other dimensions
10 years ago
Dave Airlie
53ab094df9
tests: use a box with height to test stride validation
10 years ago
Dave Airlie
a423879e87
tests: don't pass a bad stride in validation tests
10 years ago
Dave Airlie
93072467c4
tests: add bad stride test
...
stride shouldn't be less than resource width
10 years ago
Dave Airlie
5fd93680a7
tests: don't pass a stride to bad level test
10 years ago
Dave Airlie
ee10a18ef5
tests: add transfer test with a bad level.
10 years ago
Dave Airlie
22f2944e52
tests: don't pass a layer stride on the transfer tests
10 years ago
Dave Airlie
1f9ab04501
tests: do some tests for layer stride with bad texture types
10 years ago
Dave Airlie
a6a0b09d5e
tests: drop unused test
...
this is subsumed into other tests
10 years ago
Dave Airlie
9006de318e
tests: more inline transfer tests
...
This adds code to the encoder that needs to be backported
to the mesa virgl driver to support inline writes for
non-buffer objects.
10 years ago
Dave Airlie
44d4cf4fd3
tests: add option to test harness for large buffer
10 years ago
Dave Airlie
5109a1ff26
tests: add new transfer tests
...
this does a transfer per resource type, also start
adding inline transfer tests, these need a bit more work
10 years ago
Dave Airlie
88b48d0606
tests: add transfer test with bad offset
...
We need to take offset into account when doing transfer size testing.
10 years ago
Marc-André Lureau
f66acaff87
tests: add check of bad iov write
10 years ago
Marc-André Lureau
9ae41c26fe
tests: add virgl_test_transfer_1d
...
Add a working case
10 years ago
Dave Airlie
6b04d57ec4
tests: add more transfer box tests
...
These test some of the box bounds.
10 years ago
Dave Airlie
67fb0def2d
tests: test return value from transfer functions
10 years ago
Dave Airlie
99ae4f7a89
tests: add initial transfer API tests
10 years ago