-
Notifications
You must be signed in to change notification settings - Fork 1
Functional tests use GoogleTest now #26
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
Merged
Merged
Changes from all commits
Commits
Show all changes
109 commits
Select commit
Hold shift + click to select a range
1136a2b
I propose to empirically find the m_maxSrs (maximum number of send re…
KADichev 219372a
Decrease the number of messages to use for same reason as the decreas…
KADichev 37cd6eb
Trying to modernize LPF to use FindGTest/GoogleTest combination, but …
KADichev 2886606
Make tests compile again
KADichev c7dbc7d
In a middle of a big mess of changes, which I hope will end well
KADichev 9eab088
Working my way through Gtest-ifying the tests
KADichev 47294a7
Finished porting functional tests to gtest
KADichev 359c512
Added a script converting the source line with P into a process count…
KADichev 7319765
Fixing how the default process count is parsed (some parsing errors) …
KADichev 02b14d8
Fix reading in probe argument, plus use lpfrun now instead of mpirun …
KADichev e8052c1
Finished with the tests/functional directory, tests passing. Now star…
KADichev 71c1785
Commit current state as I can't deal with this enormous change
KADichev 2c98499
Compiles again, will not run okay because of EXPECT_DEATH + MPI
KADichev e2a758d
Slow progress, now I need to implement in my Python script the differ…
KADichev 7220e76
Almost got it, now need to fix the debug tests not to issue EXPECT_DE…
KADichev 6f84f8f
Use GoogleTest but without death tests
KADichev 80f0392
Got IB Verbs tests to work again by setting LPF_MPI_AUTO_INITIALIZE=0…
KADichev 758b8de
All tests passing now - omitting the huge runs
KADichev 4021f1f
Rename c99 folder to collectives, as the folder tests collectives, an…
KADichev 703fde7
First step towards making it work for many engines
KADichev d6eebab
Go back to only ibverbs for now, have to think how to fix this
KADichev 7081c78
This version runs all tests, but fails because I need one more fix --…
KADichev 3cd577a
Oops, missing test
KADichev 8cdfa67
Working on having different aborts for MPI and pthreads. Unfortunatel…
KADichev 4db403d
I think I figured how to tell hybrid engine to call MPI abort without…
KADichev 6efc47e
Request CMake 3.29 if building with tests, and clean up a bit bootstr…
KADichev 2f42d4c
Improve Pthread abort to return exit(6) instead of calling std::abort…
KADichev afa1043
I am for now removing the gtest_discover_tests call because ultimatel…
KADichev 15aea88
Eliminate remaining DEATH statements in debug folder
KADichev bfafa5f
A very annoying bug that took ages to find.
KADichev 33c481d
Revert "Decrease the number of messages to use for same reason as the…
KADichev 50cabd1
Revert "I propose to empirically find the m_maxSrs (maximum number of…
KADichev e3a20c9
Small fix to keep the refactored IBVerbs tests but still revert the t…
KADichev c0d8d28
Bring back GoogleTest download functionality
KADichev da922d5
Reflect changes to require CMake 3.29 and C++17 standard compatible c…
KADichev 6143340
Resolve some compiler warnings
anyzelman a8da59e
Remove the cmake/mpi_open_port.c test, because this test passes both …
KADichev 89d7001
Remove the disabling of IB Verbs -- it was only meant to test setup o…
KADichev d39d2cd
Use the latest IBVerbs test suite, which explicitly asks IBVerbs abou…
KADichev 7fecf7c
Dramatic improvement in test generation time. Do not use anymore bash…
KADichev ec0a6e9
Do not generate IB Verbs tests if no Infiniband device is found
125631d
Unfortunately, I need to fix the setting for our cluster, where just …
KADichev 2d7211c
Slightly improve the fix for single-process run to list tests
a08c0c5
Avoid one compiler warning (narrowing)
anyzelman 4a6c887
Gtest macros implicitly causing ambiguous else-statements, fixed
anyzelman ca6d8c5
The test directly inspects the return code, rather than storing it in…
anyzelman 99ac217
Suppress an unused-variable warning
anyzelman 810a42a
The dynamic hook test was not fully GoogleTest compliant. Now it is. …
KADichev 7c81328
Reduce to C++11 standard without tests, C++17 with tests
KADichev 0a3c5cd
Albert Jan reported non-deterministic issues with pthread backend. Af…
KADichev 540a91b
Bring back GoogleTest license agreement dialogue
KADichev eb245e7
Suppress some warnings encountered by GCC 11.5
anyzelman 30cc344
Do some cleanup of gtest building macros in the CMake files. Also, do…
KADichev a606a1a
Minimal comment for internal abort
KADichev 13ee0e8
Format all tests using clang-formatter in default mode
KADichev d32bc6b
Accept their changes plus use formatting with Clang
KADichev 516405c
Albert Jan reported non-deterministic issues with pthread backend. Af…
KADichev a9b7419
Bring back GoogleTest license agreement dialogue
KADichev ba74e81
Various refactoring of test macros in CMakeLists.txt files for final …
KADichev 5642874
Merge branch 'functional_tests_use_gtest' into fix_formatting_and_exp…
KADichev b345ef8
Proactively resolve some dangling TODOs from previous reviews-- pleas…
anyzelman c60615d
Code review: revert unnecessary change
anyzelman dc7fbca
Move lpf_abort away from core API
anyzelman f312c5b
Implement LPF_HAS_ABORT
anyzelman 789b2d4
Fix typo
anyzelman 8dc6325
Debug layer requires lpf_abort, have it raise an error if it is not s…
anyzelman 7d6dcee
Code review lpf_abort extension specification
anyzelman cb64ac3
Code review: check and fix documentation of the lpf_abort extension
anyzelman 25b96f9
Generate documentation for new lpf_abort extension
anyzelman f81e968
Fix unlinked documentations from main page
anyzelman 755db8c
Code review on core.h
anyzelman c6526af
Fix typos and impreciseness
anyzelman e2025c8
Code review: formatting fixes
anyzelman 9f10254
Code review: use same coda formatting as (most) other files
anyzelman 2254e20
Code review: enable disabled unit tests for the debug layer lpf_hook …
anyzelman 1c75b0b
Explain why 134 is expected
anyzelman d466e87
Add rationale on when to std::abort and when to lpf_abort
anyzelman 2a301e5
Fix and enable lpf_put_parallel_bad_pattern
anyzelman b80a235
Remove site-specific exception list, now that the only non-site-speci…
anyzelman 3cec357
Use as many LPF processes as possible for the put_parallel_bad_patter…
anyzelman 8a1f215
We forgot to include the logic for overriding the min and max number …
anyzelman d15b75f
Apologies, remove some debug messages
anyzelman 7987fc0
Fix logic to match old script
anyzelman ad216b1
Restore functionality using between 1 and 5 processes, plus reading t…
KADichev 7ea0ec6
Missing abort.h include in hybrid dispatch
anyzelman 6628632
Explicitly use Python3 executable to run wrapper script
KADichev e70e829
Enable static dispatching for LPF_HAS_ABORT, then fix static dispatch…
anyzelman f782b44
Integrate remaining engine-specific tests that were commented
KADichev 37581d5
I am disabling the test func_lpf_hook_tcp.mpirma.cpp, because it take…
KADichev 2f1db74
Fix some incorrectly refactored tests. Also, add RUN_SERIAL to dynami…
KADichev 0d17ddc
Disable bad_pattern test, since it has certain assumptions - 1024 pro…
KADichev 7cb92df
Fix for https://github.com/Algebraic-Programming/LPF/issues/36
KADichev c88b20f
For engine-specific checks, make sure the target engines are enabled …
anyzelman 6890dcb
Make bootstrap --with-mpiexec work with modern CMake FindMPI
anyzelman 7f31ddd
Code review: quick fixes to some formatting
anyzelman 6e9baaf
Final code review: prevent passing empty strings to CMake
anyzelman 0905568
Let hybrid engine be built even if no ibverbs engine is available -- …
anyzelman 74e9f41
Allow the previous behaviour of building the ibverbs engine when poss…
anyzelman 76fa81d
Remove disabled test-- retained in issue #38 on GitHub
anyzelman cfc2db8
Make lpfcc compiler front-end compatible with CMake once more
anyzelman f156f53
Clarification re last commit
anyzelman b3c4e5d
Fix post-install check, and make sure it checks only what was intende…
anyzelman faa3b33
Move var declarations closer to where they are to be used, and ensure…
anyzelman 635bdfe
Populate / append lpf_cflags and lpf_lib_link_flags only once for MPI…
anyzelman 94a6f6e
Revert "Move var declarations closer to where they are to be used, an…
anyzelman dd1ec8a
We cannot build a generic add_gtest function without the cflags etc.,…
anyzelman 0edb521
Avoid one warning on modern CMake
anyzelman 66f0635
Past code review comment: put back the OS X flag on rdynamic-- we sti…
anyzelman 09f8142
Code review comments from Kiril - remove unnecessary CMake statements
anyzelman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.