WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@SergeyKopienko
Copy link
Contributor

@SergeyKopienko SergeyKopienko commented Sep 22, 2025

This PR adds exception handling and logging to test files for autotune policy and related dynamic selection policies. The changes wrap existing test code in try-catch blocks to capture and log any exceptions that occur during test execution.

  • Adds try-catch blocks around main test logic in multiple test files
  • Implements consistent exception logging using TestUtils::issue_error_message
  • Ensures tests can report meaningful error information when exceptions occur

@SergeyKopienko SergeyKopienko added the test Test only Change label Sep 22, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds exception handling and logging to test files for autotune policy and related dynamic selection policies. The changes wrap existing test code in try-catch blocks to capture and log any exceptions that occur during test execution.

  • Adds try-catch blocks around main test logic in multiple test files
  • Implements consistent exception logging using TestUtils::issue_error_message
  • Ensures tests can report meaningful error information when exceptions occur

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test_round_robin_policy_inline.pass.cpp Adds basic try-catch wrapper around test execution
test_fixed_resource_policy_inline.pass.cpp Adds basic try-catch wrapper around test execution
test_dynamic_load_policy_inline.pass.cpp Adds try-catch with exception logging functionality
test_customizations.pass.cpp Adds try-catch with exception logging functionality
test_auto_tune_policy_inline.pass.cpp Adds try-catch with exception logging functionality
test_auto_tune_policy_sycl.pass.cpp Adds try-catch with exception logging functionality

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/log_auto_tune_policy_test_exceptions branch from 829c070 to a401210 Compare September 23, 2025 10:50
Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, this LGTM.
Thanks Sergey

@SergeyKopienko SergeyKopienko merged commit 6f39e0d into main Sep 23, 2025
19 checks passed
@SergeyKopienko SergeyKopienko deleted the dev/skopienko/log_auto_tune_policy_test_exceptions branch September 23, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Test only Change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants