(view as text)
/bin/sh -c ./psycle-helpers/++wonderbuild/staged-install/usr/local/bin/psycle-helpers-unit-tests --log_level=test_suite --report_level=detailed
 in dir /mnt/main/buildbot/psycle/slaves/factoid.retropaganda.info--sid-chroot/psycle-trunk/psycle-helpers/build (timeout 1200 secs)
 watching logfiles {}
 argv: ['/bin/sh', '-c', './psycle-helpers/++wonderbuild/staged-install/usr/local/bin/psycle-helpers-unit-tests --log_level=test_suite --report_level=detailed']
 environment:
  HOME=/var/lib/buildbot
  LANG=en_US.ISO-8859-15
  LOGNAME=buildbot
  MAIL=/var/lib/buildbot/Maildir
  PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
  PWD=/mnt/main/buildbot
  SHELL=/bin/sh
  SHLVL=1
  USER=buildbot
  _=/usr/bin/buildbot
 closing stdin
 using PTY: True
Running 13 test cases...
Entering test suite "Master Test Suite"
Entering test case "date_time_duration_test"
Leaving test case "date_time_duration_test"
Entering test case "affinity_test"
process affinity mask active count: 1
thread affinity mask active count: 1
Leaving test case "affinity_test"
Entering test case "thread_priority_test"
setting thread priority to: -300
thread priority is: -100
setting thread priority to: -200
thread priority is: -100
setting thread priority to: -100
thread priority is: -100
setting thread priority to: 0
thread priority is: 0
setting thread priority to: 100
could not set thread priority: standard error: 1 0x1: Operation not permitted
Leaving test case "thread_priority_test"
Entering test case "utc_time_test"
Leaving test case "utc_time_test"
Entering test case "hardware_concurrency_test"
hardware concurrency: 1
Leaving test case "hardware_concurrency_test"
Entering test case "wall_clock_and_sleep_test"
1.00019
Leaving test case "wall_clock_and_sleep_test"; testing time: 10ms
Entering test case "clocks_test"
clock: std::time, min: 1s, avg: 1s, max: 1s
clock: std::clock, min: 0.01s, avg: 0.01s, max: 0.01s
posix clocks
clock: CLOCK_REALTIME, min: 1.17e-06s, avg: 1.222e-06s, max: 0.0080788s
clock: CLOCK_MONOTONIC, min: 1.177e-06s, avg: 1.227e-06s, max: 0.00167122s
clock: CLOCK_PROCESS_CPUTIME_ID, min: 1.341e-06s, avg: 1.38e-06s, max: 9.6209e-05s
clock: CLOCK_THREAD_CPUTIME_ID, min: 1.275e-06s, avg: 1.326e-06s, max: 9.8497e-05s
clock: gettimeofday, min: 1e-06s, avg: 1.356e-06s, max: 0.000455s
posix clock_getres
clock: CLOCK_REALTIME, resolution: 1e-09s
clock: CLOCK_MONOTONIC, resolution: 1e-09s
clock: CLOCK_PROCESS_CPUTIME_ID, resolution: 1e-09s
clock: CLOCK_THREAD_CPUTIME_ID, resolution: 1e-09s
Leaving test case "clocks_test"; testing time: 15760ms
Entering test case "fast_log2_test"
fast_log2: 2.27911e+07
std::log2: 2.28495e+07
0.0354262s < 0.11113s
Leaving test case "fast_log2_test"; testing time: 140ms
Entering test case "fast_sin_test"
fast_sin<Polynomial_Degree = 2, Real = float>: 1.15625
std::sin: 333.333
0.0445687s < 0.107084s
fast_sin<Polynomial_Degree = 4, Real = float>: 1.15625
std::sin: 333.333
0.0448415s < 0.104379s
fast_sin<Polynomial_Degree = 2, Real = double>: 1
std::sin: 1
0.0550484s < 0.106325s
fast_sin<Polynomial_Degree = 4, Real = double>: 1
std::sin: 1
0.0545165s < 0.105167s
Leaving test case "fast_sin_test"; testing time: 630ms
Entering test case "sin_cos_test"
sin_cos<float>(0): sin = 0, cos = 1
sin_cos<float>(0.785398): sin = 0.707107, cos = 0.707107
sin_cos<float>(1.0472): sin = 0.866025, cos = 0.5
sin_cos<float>(1.5708): sin = 1, cos = -4.37114e-08
sin_cos<float>(3.14159): sin = -8.74228e-08, cos = -1
sin_cos<double>(0): sin = 0, cos = 1
sin_cos<double>(0.785398): sin = 0.707107, cos = 0.707107
sin_cos<double>(1.0472): sin = 0.866025, cos = 0.5
sin_cos<double>(1.5708): sin = 1, cos = 6.12303e-17
sin_cos<double>(3.14159): sin = 1.22461e-16, cos = -1
sin_cos<long double>(0): sin = 0, cos = 1
sin_cos<long double>(0.785398): sin = 0.707107, cos = 0.707107
sin_cos<long double>(1.0472): sin = 0.866025, cos = 0.5
sin_cos<long double>(1.5708): sin = 1, cos = 6.12303e-17
sin_cos<long double>(3.14159): sin = 1.22461e-16, cos = -1
Leaving test case "sin_cos_test"
Entering test case "lrint_test"
Leaving test case "lrint_test"
Entering test case "sine_sequence_test"
sinseq<Clipped = 0>: 1
std::sin: 1
0.0271868s < 0.108093s
sinseq<Clipped = 0>: min + 1: -4.77729e-12, max - 1: 1.00586e-13
sinseq<Clipped = 1>: 1
std::sin: 1
0.0531591s < 0.107504s
sinseq<Clipped = 1>: min + 1: 0, max - 1: -2.03171e-12
Leaving test case "sine_sequence_test"; testing time: 380ms
Entering test case "lround_test"
Leaving test case "lround_test"
Leaving test suite "Master Test Suite"

Test suite "Master Test Suite" passed with:
  151 assertions out of 151 passed
  13 test cases out of 13 passed

  Test case "date_time_duration_test" passed with:
    41 assertions out of 41 passed

  Test case "affinity_test" passed

  Test case "thread_priority_test" passed

  Test case "utc_time_test" passed with:
    3 assertions out of 3 passed

  Test case "hardware_concurrency_test" passed

  Test case "wall_clock_and_sleep_test" passed with:
    1 assertion out of 1 passed

  Test case "clocks_test" passed

  Test case "fast_log2_test" passed with:
    45 assertions out of 45 passed

  Test case "fast_sin_test" passed with:
    4 assertions out of 4 passed

  Test case "sin_cos_test" passed with:
    30 assertions out of 30 passed

  Test case "lrint_test" passed with:
    16 assertions out of 16 passed

  Test case "sine_sequence_test" passed with:
    3 assertions out of 3 passed

  Test case "lround_test" passed with:
    8 assertions out of 8 passed

program finished with exit code 0