Commit graph

2 commits

Author SHA1 Message Date
Tom Cherry
a7c7bce252 Fix isValid() condition for libsync tests
Upstream modifications in K3.12 to the sw_sync driver set O_CLOEXEC on
the fd's returned by the SW_SYNC_IOC_CREATE_FENCE ioctl, therefore we
check the return of fcntl() for a non-negative value instead of strictly 0.

Change-Id: If4c82750fcc0aa3a57f243fa2a94691e3150e4a4
2015-11-05 10:07:53 -08:00
Riley Andrews
9e55879f43 Add gtest conformance tests for libsync. Not complete yet, but substantially more comprehensive than the interactive test that was there before.
Change-Id: I9019b0a8babbc91f78aa850e0e288bbf05f93500
2014-06-10 23:33:18 +00:00