Skip to content

Conversation

@xylar
Copy link
Collaborator

@xylar xylar commented Oct 28, 2025

The utility now writes out a block like:


(Copy the following to a comment in your Omega PR)

CTest unit tests:
- Machine: chrysalis
- Compiler: intel
- Build type: Release
- Result: All tests passed
- Log: /path/to/ctest.log

Or if there are test failures, something like:

(Copy the following to a comment in your Omega PR)

CTest unit tests:
- Machine: chrysalis
- Compiler: intel
- Build type: Release
- Failures (22 of 33):
  - DECOMP_NTASK1_TEST
  - DECOMP_NTASK8_TEST
  - HALO_TEST
  - DIMENSION_TEST
  - HORZMESH_TEST
  - HORZOPERATORS_PLANE_TEST
  - HORZOPERATORS_SPHERE_TEST
  - AUXVARS_PLANE_TEST
  - AUXVARS_SPHERE_TEST
  - AUXSTATE_TEST
  - IO_TEST
  - FIELD_TEST
  - IOSTREAM_TEST
  - TEND_PLANE_TEST
  - TEND_PLANE_SINGLE_PRECISION_TEST
  - TEND_SPHERE_TEST
  - TENDENCIES_TEST
  - STATE_TEST
  - TIMESTEPPER_TEST
  - DRIVER_TEST
  - TRACERS_TEST
  - EOS_TEST
- Log: /path/to/ctests.log

This should be easy to copy/paste into an Omega PR.

Checklist

  • Testing comment in the PR documents testing used to verify the changes

@xylar xylar requested a review from sbrus89 October 28, 2025 12:34
@xylar xylar added enhancement New feature or request utility Utility script(s) in the utils directory labels Oct 28, 2025
@xylar
Copy link
Collaborator Author

xylar commented Oct 28, 2025

Testing

I tested both a successful CTest run and one with failures (initiated by deleting the contents of omega.yml in the test directory) on Chrysalis.

@xylar
Copy link
Collaborator Author

xylar commented Oct 28, 2025

@sbrus89, please take a look.

@cbegeman
Copy link
Collaborator

@xylar Nice!

xylar added 3 commits October 30, 2025 07:32
Write out a block like:
```

(Copy the following to a comment in your Omega PR)"

CTest unit tests:
- Machine: chrysalis
- Compiler: intel
- Build type: Release
- Result: All tests passed
- Log: /path/to/ctest.log
```

This should be easy to copy/paste into an Omega PR.
@xylar xylar force-pushed the improve-omega-ctest-output branch from b6cda61 to 1948ce1 Compare October 30, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request utility Utility script(s) in the utils directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants