<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/libsync/tests, branch master</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>libsync: Add fence info tests</title>
<updated>2017-09-26T10:09:35+00:00</updated>
<author>
<name>Alexandros Frantzis</name>
<email>alexandros.frantzis@collabora.com</email>
</author>
<published>2017-09-15T06:45:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=68223500ea8a7608b1446ac39428118e9b16f625'/>
<id>68223500ea8a7608b1446ac39428118e9b16f625</id>
<content type='text'>
This patch adds regression tests to check that the fence info returned
by libsync contains valid data.

Test: sync-unit-tests

Change-Id: I0c57c49b7be563efc9a43f12381059f20e0a4e52
Signed-off-by: Alexandros Frantzis &lt;alexandros.frantzis@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds regression tests to check that the fence info returned
by libsync contains valid data.

Test: sync-unit-tests

Change-Id: I0c57c49b7be563efc9a43f12381059f20e0a4e52
Signed-off-by: Alexandros Frantzis &lt;alexandros.frantzis@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sync: rename sync/sync.h to android/sync.h</title>
<updated>2017-02-24T02:44:50+00:00</updated>
<author>
<name>Jesse Hall</name>
<email>jessehall@google.com</email>
</author>
<published>2017-02-13T23:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=41129a2526d4a8bc3510bc65c0e39e1e9d4700d2'/>
<id>41129a2526d4a8bc3510bc65c0e39e1e9d4700d2</id>
<content type='text'>
Leave a temporary symlink from the old name to avoid having to change
all dependencies simultaneously.

Bug: 1901466
Test: m
Change-Id: Id210f0091457e52e1a6e048d241a723bdbe8779b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Leave a temporary symlink from the old name to avoid having to change
all dependencies simultaneously.

Bug: 1901466
Test: m
Change-Id: Id210f0091457e52e1a6e048d241a723bdbe8779b
</pre>
</div>
</content>
</entry>
<entry>
<title>sync: implement sync_file_info</title>
<updated>2017-02-24T02:44:50+00:00</updated>
<author>
<name>Jesse Hall</name>
<email>jessehall@google.com</email>
</author>
<published>2017-02-13T00:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=836661616fcf4bc023b192d1c320f0727a9dfef9'/>
<id>836661616fcf4bc023b192d1c320f0727a9dfef9</id>
<content type='text'>
Also modifies sync-unit-test to use sync_file_info instead of the
deprecated sync_fence_info, but check that they match in several tests.

Bug: 35138793
Test: sync-unit-tests on bullhead
Change-Id: Ic672d1c89798435a8b71469500e82c770a66bf4d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also modifies sync-unit-test to use sync_file_info instead of the
deprecated sync_fence_info, but check that they match in several tests.

Bug: 35138793
Test: sync-unit-tests on bullhead
Change-Id: Ic672d1c89798435a8b71469500e82c770a66bf4d
</pre>
</div>
</content>
</entry>
<entry>
<title>libsync: Replace inserting tuple into unordered_map in favour of pair.</title>
<updated>2017-01-30T23:39:03+00:00</updated>
<author>
<name>mtezych</name>
<email>mte.zych@gmail.com</email>
</author>
<published>2017-01-29T18:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=380b2f4fea745f4db30e5cb2ac7f5a638b33c652'/>
<id>380b2f4fea745f4db30e5cb2ac7f5a638b33c652</id>
<content type='text'>
Inserting tuple into unordered_map relies on non standard libc++ extension:
http://stackoverflow.com/a/21313229
This change removes this dependency.

Test: sync-unit-tests (on hikey with SW_SYNC_USER built into kernel)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inserting tuple into unordered_map relies on non standard libc++ extension:
http://stackoverflow.com/a/21313229
This change removes this dependency.

Test: sync-unit-tests (on hikey with SW_SYNC_USER built into kernel)
</pre>
</div>
</content>
</entry>
<entry>
<title>libsync: tests: redefine PollOnDestroyedTimeline()</title>
<updated>2017-01-17T22:29:41+00:00</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.com</email>
</author>
<published>2016-12-06T18:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=801492b8a66a8f08f99667a4123ce07aa4c0a4f7'/>
<id>801492b8a66a8f08f99667a4123ce07aa4c0a4f7</id>
<content type='text'>
On mainline if the sw_sync timeline is destroyed the fences doesn't not
signal or error. So change the test to check if the fence is still there
by polling the fence with timeout zero and asserting if it is not
signalled.

Test: Sync unit tests still passes.
Change-Id: Icb8e629018eef35074ae91d0f29ed1f12e90492b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On mainline if the sw_sync timeline is destroyed the fences doesn't not
signal or error. So change the test to check if the fence is still there
by polling the fence with timeout zero and asserting if it is not
signalled.

Test: Sync unit tests still passes.
Change-Id: Icb8e629018eef35074ae91d0f29ed1f12e90492b
</pre>
</div>
</content>
</entry>
<entry>
<title>libsync: tests: remove WaitOnDestroyedTimeline test</title>
<updated>2017-01-17T22:29:18+00:00</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.com</email>
</author>
<published>2016-12-06T18:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=e4682802cbeeefe8e870e5b7b110515659a6a14f'/>
<id>e4682802cbeeefe8e870e5b7b110515659a6a14f</id>
<content type='text'>
The mainline Sync File implementation doesn't have wait ioctl anymore.
Only poll is supported now, and we already have a test for that.

Test: Sync unit tests still passes.
Change-Id: Iadde7b2173024af9b8d20316e640297cf214c645
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mainline Sync File implementation doesn't have wait ioctl anymore.
Only poll is supported now, and we already have a test for that.

Test: Sync unit tests still passes.
Change-Id: Iadde7b2173024af9b8d20316e640297cf214c645
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert to Android.bp</title>
<updated>2016-08-26T23:19:21+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2016-08-26T22:01:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=194edf772e4df2ade86acf97f616243aaef205fc'/>
<id>194edf772e4df2ade86acf97f616243aaef205fc</id>
<content type='text'>
See build/soong/README.md for more information.

I tested the following tests on a Nexus9 and linux host, and they
continued to pass:

/data/nativetest{,64}/bootstat_tests/bootstat_tests
out/host/linux-x86/bin/nativetest{,64}/bootstat_tests/bootstat_tests
/data/nativetest64/memunreachable_test/memunreachable_test
out/host/linux-x86/bin/nativetest{,64}/memunreachable_test/memunreachable_test

These continue to fail just like before this change:

/data/nativetest{,64}/sync_test/sync_test (was /system/bin/sync_test)
/data/nativetest{,64}/sync-unit-test/sync-unit-test
/data/nativetest/memunreachable_test/memunreachable_test

Test: See above
Change-Id: I691e564e0cf008dd363e3746223b153d712e024d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See build/soong/README.md for more information.

I tested the following tests on a Nexus9 and linux host, and they
continued to pass:

/data/nativetest{,64}/bootstat_tests/bootstat_tests
out/host/linux-x86/bin/nativetest{,64}/bootstat_tests/bootstat_tests
/data/nativetest64/memunreachable_test/memunreachable_test
out/host/linux-x86/bin/nativetest{,64}/memunreachable_test/memunreachable_test

These continue to fail just like before this change:

/data/nativetest{,64}/sync_test/sync_test (was /system/bin/sync_test)
/data/nativetest{,64}/sync-unit-test/sync-unit-test
/data/nativetest/memunreachable_test/memunreachable_test

Test: See above
Change-Id: I691e564e0cf008dd363e3746223b153d712e024d
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix isValid() condition for libsync tests</title>
<updated>2015-11-05T18:07:53+00:00</updated>
<author>
<name>Tom Cherry</name>
<email>tomcherry@google.com</email>
</author>
<published>2015-11-05T18:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=a7c7bce252a6bce1539e9caa84420de3698029e7'/>
<id>a7c7bce252a6bce1539e9caa84420de3698029e7</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.</title>
<updated>2015-04-02T21:31:07+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-02T21:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=bcc2b5f44a39c5843eea2449cad66b8dce8721ee'/>
<id>bcc2b5f44a39c5843eea2449cad66b8dce8721ee</id>
<content type='text'>
Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove uses of libcxx.mk.</title>
<updated>2015-03-27T18:24:04+00:00</updated>
<author>
<name>Dan Albert</name>
<email>danalbert@google.com</email>
</author>
<published>2015-03-27T18:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=d0a793dca3c208ab04b67cd7dc0126a3d394d8dd'/>
<id>d0a793dca3c208ab04b67cd7dc0126a3d394d8dd</id>
<content type='text'>
This is a no-op.

Change-Id: Iecbcd5f6d818abbf98767a2e996c10f454b652e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a no-op.

Change-Id: Iecbcd5f6d818abbf98767a2e996c10f454b652e4
</pre>
</div>
</content>
</entry>
</feed>
