Commit Graph

6 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
7e4365f014 Add performance test filtering and remove HTML coverage
- Add isPerfTest field to TestInfoInternal struct
- Add --exclude-perf-tests command line argument
- Add PERF_TEST and PERF_TEST_F macros for marking performance tests
- Update runAllTests to filter performance tests when requested
- Remove genhtml dependency and HTML report generation
- Keep only coverage.info file generation with lcov

Performance tests can now be excluded with:
  ./build/bin/unit_tests --exclude-perf-tests
  ./build/bin/mp_unit_tests --exclude-perf-tests

Co-authored-by: chhwang <8018170+chhwang@users.noreply.github.com>
2026-02-11 02:29:50 +00:00
copilot-swe-agent[bot]
b1f458eca3 Convert test framework identifiers from snake_case to camelCase
Co-authored-by: chhwang <8018170+chhwang@users.noreply.github.com>
2026-02-11 02:25:28 +00:00
copilot-swe-agent[bot]
3d8a2e7349 Add --gtest_filter support to framework
Support --gtest_filter command line argument for test filtering,
compatible with Azure pipeline configurations.

Co-authored-by: chhwang <8018170+chhwang@users.noreply.github.com>
2026-02-11 00:25:43 +00:00
copilot-swe-agent[bot]
1e32e17c1e Address code review comments
- Remove duplicate static getMPIRank() and getMPISize() functions
- Add full namespace qualification to GTEST_SKIP macro

Co-authored-by: chhwang <8018170+chhwang@users.noreply.github.com>
2026-02-11 00:22:04 +00:00
copilot-swe-agent[bot]
e227fdc1ef Convert mp_unit tests from gtest to framework.hpp
- Modified test/mp_unit/mp_unit_tests.hpp to use ../framework.hpp instead of gtest/gtest.h
- Enhanced test/framework.hpp with GTest-compatible APIs:
  - Added Environment base class for global test setup/teardown
  - Added TestInfo and UnitTest classes for test metadata access
  - Added GTEST_SKIP macro support via SkipHelper class
  - Added namespace alias 'testing' for compatibility
  - Added InitGoogleTest and AddGlobalTestEnvironment helper functions
- Updated test/framework.cc with implementations for new classes
- All mp_unit test files now use framework.hpp through mp_unit_tests.hpp
- Formatting applied via lint.sh

Co-authored-by: chhwang <8018170+chhwang@users.noreply.github.com>
2026-02-11 00:21:04 +00:00
copilot-swe-agent[bot]
c881bc5e16 Replace gtest/gtest.h with framework.hpp in all unit tests
Co-authored-by: chhwang <8018170+chhwang@users.noreply.github.com>
2026-02-11 00:17:18 +00:00