Age | Commit message (Collapse) | Author |
|
since the sync implementation is not supported by kernel 4.9+
Change-Id: I6a4f326f243622ba9c9a0a1e90cb98abe951f793
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
(cherry picked from commit 602cc4a9928ab8da602ce5c737fe4ce367bff4c4)
|
|
include sys/sysmacros.h explicitly, otherwise will have following error:
07:23:53 external/linaro-android-kernel-test/ashmemtest-basic/ashmemtest.c:117:9: error: implicit declaration of function 'major' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
07:23:53 if (major (st.st_rdev) != ASHMEM_MAJOR)
Change-Id: I2d28214e708382e7e00c9954708688b51fd96c2c
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
sync.h and sw-sync.h were removed from bionic header files
Change-Id: I4c9aede3fdb91536d6094e12b4eda826276e248e
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
to make lava be able to collect the test result
Change-Id: I7a9012682a27ae64d0cc6c570d4d0a1f5ec9a9c8
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
the reuslt output format is not right for lava to collect
Change-Id: I7102538082c01633ad1c789a4212c063a222be73
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
so that we could analyze the output correctly
Change-Id: I36526d5710ecb107b160e3a641e15c5434661d46
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
nougat has move it to /data/benchmarktest/binderAddInts/binderAddInts
Change-Id: I2d5224486bce888cb8a386da8f6c02e3ba8fae48
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
so that we can have other test run
Change-Id: I072b049f61ffe42fec14a05a76534792b8d630f9
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
so that the result can be collected by LAVA
Change-Id: Icbe7e855eb8854910f44b6e1df24a4118d04a777
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Change-Id: Iad7e92560464a4835075cb7e062481112dbfa29b
|
|
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Change-Id: I9ccbdc3dd644bf06db00458e76055fbafccc2d20
|
|
since the logger and alarmdev are deleted from 3.18 kernel
Change-Id: I195aa76b7333bd2e4b583603e364725605608bd4
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
change to use getevent to find the input device added.
but leave one question here: why the number is different between
/devices/virtual/input/inputN and /dev/input/eventsN
Change-Id: If9ce07e7365e580e971309ad53349a48c78b1f34
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
In kernel 3.18, VFAT_IOCTL_GET_VOLUME_ID is defined as 0x13,
and the valued is set to the variable passed to ioctl call instead of the return value
Change-Id: I0c9a57145bba60ec73e188c412dd5a477bc41045
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
this change will make the evdevtest can be compiled with newer kernel
which has strict check on the permission mode for __ATTR
Change-Id: Iadbea08a307696d9dee3e12f7c9767b26bf4786f
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Needed to build with Bionic from AOSP master -- some headers are no
longer being included implicitly by other headers.
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|
Change-Id: I115a57017ef83a37066d62844cca752e9b961cba
Signed-off-by: Amit Khare <amit.khare@linaro.org>
|
|
make binderAddInts integrated even when build with the user mode
Change-Id: Ibf6ad6d65bf90c149a640e130f20aa4b38d841b7
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
when selinux enabled, it's not possible to create or access directory
under /data/ or root (/), so change to use deirectory under /data/local/tmp
Change-Id: I5e41f18c53c85a0d4d49d91eb119d8a5ab3f2843
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
chanage accorfing to cards:
https://cards.linaro.org/browse/JUICE-443
1. fix value get by ioctl comparison problem
2. rename test case names
Change-Id: Ic061d4630cb1b112ad342cc858b7d75ffc0964e8
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
according to card: https://cards.linaro.org/browse/JUICE-441
bug link: https://bugs.linaro.org/show_bug.cgi?id=271
Change-Id: Id90d348b8b868fcb6a6cb6fb375f83f0ae316cd4
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
EVIOCGSUSPENDBLOCK/EVIOCSSUSPENDBLOCK aren't part of the official
kernel. Don't assume they're defined by Bionic's uapi headers.
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
fix compiling errors when use LSK and latest AOSP master branch
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
(1) ioctl(fd, EVIOCGSUSPENDBLOCK) to ioctl(fd, EVIOCGSUSPENDBLOCK,NULL)
(2) ioctl(fd, EVIOCGSUSPENDBLOCK) to ioctl(fd, EVIOCGSUSPENDBLOCK, NULL)
(3) ioctl(fd, EVIOCSCLOCKID) to ioctl(fd, EVIOCSCLOCKID, NULL)
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
|
|
from "-1 == ret" to "ret < 0"
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
|
|
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
|
|
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
|
|
when there space in the test case id, the patter will not match,
and we can't get the result correctly
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
change the result output format from
[EVDEV EVIOCGSUSPENDBLOCK READ TEST1] PASS
to
[EVDEV EVIOCGSUSPENDBLOCK READ TEST1]: test passed
so that we can use the same linaro_android_kernel_test to do it on lava
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
|
|
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
update vfat test script to print result in LAVA friendly format.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Remove VFAT_IOCTL_GET_VOLUME_ID_SAFE from kernel so we
also need to remove it from here
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
|
|
vfat-volid: the simple application that can retrieve fat volume id using ioctl
test.sh: the test script
|
|
Android.mk in this directory was not shipped with original dosfstools. It is intended only to generate mkfs.vfat
|
|
ssh://linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/android/linaro-android-kernel-test
|
|
|
|
|
|
And then resume them again.
|
|
ssh://linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/android/linaro-android-kernel-test into alarmdev
|
|
The history is explained here: https://bugs.launchpad.net/linaro-android/+bug/1160633/
* Add error reporting (perror instead of printing ioctl return code)
* Fix handling of positive ioctl return codes (alarm bitmasks)
* Treat EBUSY on alarm_set_and_wait as non-fatal error and skip the test for this alarm type
|
|
Script now supports running specific tests.
|
|
|
|
|
|
|