Skip to content

update tests #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

update tests #349

wants to merge 7 commits into from

Conversation

makelinux
Copy link

rename deprecated

@makelinux makelinux force-pushed the develop branch 3 times, most recently from 2beb5b0 to 5c59bab Compare July 31, 2021 21:27
Tests
grep -r 'BOOST_TEST.* < '
sometimes fails without details.
BOOST_THREAD_TEST_IT reports what the difference is.

Vim regex for replacement:
s/BOOST_TEST(\(.*\) < \(.*\))/BOOST_THREAD_TEST_IT(\1, \2)/
@makelinux makelinux force-pushed the develop branch 6 times, most recently from 402a4b8 to 2afd997 Compare August 2, 2021 11:27
Working around multiple various msvc timeouts:

[00:10:06] testing.capture-output bin.v2\libs\thread\test\async__async_executor_p.test\msvc-14.1\rls\thrdp-wn32\thrd-mlt\async__async_executor_p.run
[00:10:06] ====== BEGIN OUTPUT ======
[00:10:06] libs\thread\test\sync\futures\async\async_executor_pass.cpp[168]
[00:10:06] libs\thread\test\sync\futures\async\async_executor_pass.cpp[161] 18700
[00:10:06] libs\thread\test\sync\futures\async\async_executor_pass.cpp[195]
[00:10:06] libs\thread\test\sync\futures\async\async_executor_pass.cpp[161] 1300
[00:10:06] libs\thread\test\sync\futures\async\async_executor_pass.cpp[222]
[00:10:06] libs\thread\test\sync\futures\async\async_executor_pass.cpp(160): test '(now - start).count() < (delay).count()' ('588712300' < '500000000') failed in function '__cdecl check_timer::~check_timer(void)'

[00:08:03] testing.capture-output bin.v2\libs\thread\test\async__async_executor_p.test\msvc-12.0\rls\thrdp-wn32\thrd-mlt\async__async_executor_p.run
[00:08:03] ====== BEGIN OUTPUT ======
[00:08:03] libs\thread\test\sync\futures\async\async_executor_pass.cpp[167]
[00:08:03] libs\thread\test\sync\futures\async\async_executor_pass.cpp(159): test 'now - start < delay' failed in function '__cdecl check_timer::~check_timer(void)'
[00:08:03] libs\thread\test\sync\futures\async\async_executor_pass.cpp[160] 671942300
[00:08:03] 1 error detected.

[00:11:18]    Creating library bin.v2\libs\thread\test\condition_variable_any__wait_for_pred_p.test\msvc-14.2\rls\thrdp-wn32\thrd-mlt\condition_variable_any__wait_for_pred_p.lib and object bin.v2\libs\thread\test\condition_variable_any__wait_for_pred_p.test\msvc-14.2\rls\thrdp-wn32\thrd-mlt\condition_variable_any__wait_for_pred_p.exp
[00:11:19] testing.capture-output bin.v2\libs\thread\test\condition_variable_any__wait_for_pred_p.test\msvc-14.2\rls\thrdp-wn32\thrd-mlt\condition_variable_any__wait_for_pred_p.run
[00:11:19] ====== BEGIN OUTPUT ======
[00:11:19] libs\thread\test\sync\conditions\condition_variable_any\wait_for_pred_pass.cpp(80): test '(d).count() < (ns(max_diff)).count()' ('359371700' < '350000000') failed in function 'void __cdecl f(void)'

[00:16:25] testing.capture-output bin.v2\libs\thread\test\sync_pq_single_thread_p_lib.test\msvc-12.0\rls\thrdp-wn32\thrd-mlt\sync_pq_single_thread_p_lib.run
[00:16:25] ====== BEGIN OUTPUT ======
[00:16:25] libs\thread\test\sync\mutual_exclusion\sync_pq\pq_single_thread_pass.cpp(72): test '(d).count() < (ns(max_diff)).count()' ('418238900' < '400000000') failed in function 'void __cdecl test_pull_until(void)'

fixup! increase and use BOOST_THREAD_TEST_TIME_MS
"g++"   -fvisibility-inlines-hidden -m32 -mthreads -O0 -fno-inline -Wall -g -fvisibility=hidden -march=i686 -Wextra -Wno-long-long -Wno-unused-parameter -Wno-variadic-macros -Wunused-function -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -DBOOST_THREAD_WIN32  -I"."  -c -o "bin.v2\libs\thread\test\ex_executor.test\gcc-5\dbg\thrdp-wn32\thrd-mlt\vsblt-hdn\executor.o" "libs\thread\test\..\example\executor.cpp"
...failed gcc.compile.c++ bin.v2\libs\thread\test\ex_executor.test\gcc-5\dbg\thrdp-wn32\thrd-mlt\vsblt-hdn\executor.o...

https://ci.appveyor.com/project/pdimov/thread/builds/40207198/job/qu7mtpfr0lngi6ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant