diff options
author | Lucas A. M. Magalhaes <lamm@linux.ibm.com> | 2020-07-10 19:41:06 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2020-07-10 19:41:06 -0300 |
commit | 04deeaa9ea74b0679dfc9d9155a37b6425f19a9f (patch) | |
tree | 1c45c61f362a93a31f919fe2d428898720b59e1d /support/Makefile | |
parent | 7c7bcf3634e44cf7e001aaa302138c1ee0e58f8c (diff) | |
download | glibc-04deeaa9ea74b0679dfc9d9155a37b6425f19a9f.tar glibc-04deeaa9ea74b0679dfc9d9155a37b6425f19a9f.tar.gz glibc-04deeaa9ea74b0679dfc9d9155a37b6425f19a9f.tar.bz2 glibc-04deeaa9ea74b0679dfc9d9155a37b6425f19a9f.zip |
Fix time/tst-cpuclock1 intermitent failures
This test fails intermittently in systems with heavy load as
CLOCK_PROCESS_CPUTIME_ID is subject to scheduler pressure. Thus the
test boundaries were relaxed to keep it from failing on such systems.
A refactor of the spent time checking was made with some support
functions. With the advantage to representing time jitter in percent
of the target.
The values used by the test boundaries are all empirical.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'support/Makefile')
-rw-r--r-- | support/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile index 764b471033..e74e0dd519 100644 --- a/support/Makefile +++ b/support/Makefile @@ -238,6 +238,7 @@ tests = \ tst-test_compare \ tst-test_compare_blob \ tst-test_compare_string \ + tst-timespec \ tst-xreadlink \ tst-xsigstack \ |