mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-12 17:26:04 +00:00
1. Add missing includes to fifo_perf_tests.cu
- Add #include <cassert>
- Add #include <unordered_map>
2. Fix license header capitalization (4 files)
- "license." → "License." in test/framework.{hpp,cc}
- "license." → "License." in test/unit/{unit_tests_main.cc,fifo_perf_tests.cu}
3. Fix double MPI_Init issue
- Check MPI_Initialized() before calling MPI_Init
- Prevents double initialization when mp_unit_tests already inits MPI
4. Fix coverage flags for CUDA compilation
- Use generator expressions to apply --coverage only to C++ language
- Prevents breaking CUDA compilation with host-only flags
5. Fix environment memory leak
- Delete environment objects after TearDown()
- Clear environments_ vector
6. Implement proper GTEST_SKIP handling
- Create SkipException class
- Handle skipped tests separately from failures
- Report skipped test count
7. Implement GTest-style filter pattern matching
- Support wildcards (* and ?)
- Support negative patterns (-Pattern)
- Support colon-separated patterns (Foo:Bar)
- Compatible with existing CI usage like --gtest_filter=-*Ib*
Verified builds successfully with Docker.
Co-authored-by: chhwang <8018170+chhwang@users.noreply.github.com>
7 lines
165 B
C++
7 lines
165 B
C++
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
#include "../framework.hpp"
|
|
|
|
int main(int argc, char** argv) { return RUN_ALL_TESTS(); }
|