diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-11 18:11:42 +0200 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-22 19:15:59 +0200 |
commit | b841065043f996e2bf7648786485f3935625592b (patch) | |
tree | f6817da44d6dff09f856cee0364d0c01c72bada9 /tools/testing/selftests/timers/skew_consistency.c | |
parent | rtc: rtctest: Improve support detection (diff) | |
download | linux-b841065043f996e2bf7648786485f3935625592b.tar.xz linux-b841065043f996e2bf7648786485f3935625592b.zip |
selftests: timers: drop support for !KTEST case
There is no need to keep timers tests in sync with external timers
repo. Drop support for !KTEST to support for building and running
timers tests without kselftest framework.
Reference: https://lkml.org/lkml/2017/8/10/952
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/testing/selftests/timers/skew_consistency.c')
-rw-r--r-- | tools/testing/selftests/timers/skew_consistency.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/testing/selftests/timers/skew_consistency.c b/tools/testing/selftests/timers/skew_consistency.c index 2a996e072259..022b711c78ee 100644 --- a/tools/testing/selftests/timers/skew_consistency.c +++ b/tools/testing/selftests/timers/skew_consistency.c @@ -35,18 +35,7 @@ #include <stdlib.h> #include <string.h> #include <sys/wait.h> -#ifdef KTEST #include "../kselftest.h" -#else -static inline int ksft_exit_pass(void) -{ - exit(0); -} -static inline int ksft_exit_fail(void) -{ - exit(1); -} -#endif #define NSEC_PER_SEC 1000000000LL |