Skip to content
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

Add support for post_run #1778

Merged
merged 8 commits into from
May 17, 2024
Merged

Add support for post_run #1778

merged 8 commits into from
May 17, 2024

Commits on May 17, 2024

  1. add property post_run in JSON schema for script and spack schema that…

    … will be used to specify commands to run after test is complete. The post_run
    
    will generate a script that will be executed after execution of test. This will not impact that actual test and mainly used for cleanup.
    
    We have an example buildspec to demonstrate this example test
    shahzebsiddiqui committed May 17, 2024
    Configuration menu
    Copy the full SHA
    6c952d7 View commit details
    Browse the repository at this point in the history
  2. fix a bug where self.post_run_script was not an attribute since code …

    …was not reaching this statement and later accessed.
    
    We create symlink for example buildspec for regression test.
    add method for testing example buildspec post_run.yml
    change behavior of buildtest to show output of test with up to 10 lines
    shahzebsiddiqui committed May 17, 2024
    Configuration menu
    Copy the full SHA
    86b7390 View commit details
    Browse the repository at this point in the history
  3. emphasize lines in documentation examples for buildspecs that were no…

    …t highlighted when explaining a new
    
    property
    shahzebsiddiqui committed May 17, 2024
    Configuration menu
    Copy the full SHA
    d582271 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    668adf0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    95def1d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cb92fb3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    45b9192 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d42ad66 View commit details
    Browse the repository at this point in the history