sorry, my mistake, looking at the testing output does not make sense, as
this is a x86 64-bit machine, and ARCH=arm will require a proper callout to
qemu-system-arm to do all the testing, whcih seemingly is not the current
as I am observing right now, as far as target is timers and size is
concerned.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- TARGETS="size timers"
kselftest
scripts/kconfig/conf --silentoldconfig Kconfig
for TARGET in size timers; do \
make -C $TARGET; \
done;
make[2]: Entering directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/size'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/size'
make[2]: Entering directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/timers'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/timers'
for TARGET in size timers; do \
make -C $TARGET run_tests; \
done;
make[2]: Entering directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/size'
Testing system size.
1..1
ok 1 get runtime memory use # size = 8755100
# System runtime memory report (units in Kilobytes):
# Total: 15276392
# Free: 270180
# Buffer: 6251112
# In use: 8755100
selftests: get_size [PASS]
make[2]: Leaving directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/size'
make[2]: Entering directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/timers'
Testing posix timers. False negative may happen on CPU execution
based timers if other threads run on the CPU...
Check itimer virtual... [OK]
Check itimer prof... [OK]
Check itimer real... [OK]
Check timer_create() per thread... [OK]
Check timer_create() per process... [OK]
selftests: posix_timers [PASS]
Nanosleep CLOCK_REALTIME [OK]
Nanosleep CLOCK_MONOTONIC [OK]
Nanosleep CLOCK_MONOTONIC_RAW [UNSUPPORTED]
Nanosleep CLOCK_REALTIME_COARSE [UNSUPPORTED]
Nanosleep CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
Nanosleep CLOCK_BOOTTIME [OK]
Nanosleep CLOCK_REALTIME_ALARM [UNSUPPORTED]
Nanosleep CLOCK_BOOTTIME_ALARM [UNSUPPORTED]
Nanosleep CLOCK_TAI [OK]
selftests: nanosleep [PASS]
nsleep latency CLOCK_REALTIME [OK]
nsleep latency CLOCK_MONOTONIC [OK]
nsleep latency CLOCK_MONOTONIC_RAW [UNSUPPORTED]
nsleep latency CLOCK_REALTIME_COARSE [UNSUPPORTED]
nsleep latency CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
nsleep latency CLOCK_BOOTTIME [OK]
nsleep latency CLOCK_REALTIME_ALARM [UNSUPPORTED]
nsleep latency CLOCK_BOOTTIME_ALARM [UNSUPPORTED]
nsleep latency CLOCK_TAI [OK]
selftests: nsleep-lat [PASS]
Setting timers for every 1 seconds
CLOCK_REALTIME ABSTIME max latency: 150377 ns : [OK]
CLOCK_REALTIME RELTIME max latency: 151682 ns : [OK]
CLOCK_MONOTONIC ABSTIME max latency: 152620 ns : [OK]
CLOCK_MONOTONIC RELTIME max latency: 153703 ns : [OK]
CLOCK_BOOTTIME ABSTIME max latency: 149891 ns : [OK]
CLOCK_BOOTTIME RELTIME max latency: 151983 ns : [OK]
CLOCK_REALTIME_ALARM ABSTIME missing CAP_WAKE_ALARM? : [UNSUPPORTED]
CLOCK_REALTIME_ALARM RELTIME missing CAP_WAKE_ALARM? : [UNSUPPORTED]
CLOCK_BOOTTIME_ALARM ABSTIME missing CAP_WAKE_ALARM? : [UNSUPPORTED]
CLOCK_BOOTTIME_ALARM RELTIME missing CAP_WAKE_ALARM? : [UNSUPPORTED]
CLOCK_TAI ABSTIME max latency: 150141 ns : [OK]
CLOCK_TAI RELTIME max latency: 149312 ns : [OK]
selftests: set-timer-lat [PASS]
Mqueue latency : [OK]
selftests: mqueue-lat [PASS]
Consistent CLOCK_REALTIME [OK]
Consistent CLOCK_MONOTONIC [OK]
Consistent CLOCK_PROCESS_CPUTIME_ID [OK]
Consistent CLOCK_THREAD_CPUTIME_ID [OK]
Consistent CLOCK_MONOTONIC_RAW [OK]
Consistent CLOCK_REALTIME_COARSE [OK]
Consistent CLOCK_MONOTONIC_COARSE [OK]
Consistent CLOCK_BOOTTIME [OK]
Consistent CLOCK_REALTIME_ALARM [OK]
Consistent CLOCK_BOOTTIME_ALARM [OK]
Consistent CLOCK_TAI [OK]
selftests: inconsistency-check [PASS]
Estimating clock drift: 0.247(est) 0.0(act) [OK]
selftests: raw_skew [PASS]
Tue, 22 Dec 2015 23:56:17 +0800
Testing consistency with 8 threads for 30 seconds: [OK]
selftests: threadtest [PASS]
/dev/rtc0: Permission denied
selftests: rtctest [FAIL]
make[2]: Leaving directory
`/sdd1/linux-2.6-latest/tools/testing/selftests/timers'
On Tuesday, December 22, 2015 at 7:51:46 PM UTC+8, pradeep goswami wrote:
>
> I am trying to cross compile kselftest (kernle/tools/testing/selftest/)
> for arm.
>
> Here is command I am using ;-
>
> *make ARCH=arm CROSS_COMPILE=arm-eabi- -C kernel/tools/testing/selftests/*
>
>
> but I am not able to compile it any help will be appricated.
>
--
You received this message because you are subscribed to the Google Groups
"linuxkernelnewbies" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.