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

compiletest: Run revisions as independent tests. #50400

Merged
merged 4 commits into from
May 17, 2018

Commits on May 17, 2018

  1. compiletest: rustfmt

    ehuss committed May 17, 2018
    Configuration menu
    Copy the full SHA
    2438434 View commit details
    Browse the repository at this point in the history
  2. compiletest: Run revisions as independent tests.

    - The output of each test is now in its own directory.
    - "auxiliary" output is now under the respective test directory.
    - `stage_id` removed from filenames, and instead placed in the stamp file as a hash.  This helps keep path lengths down for Windows.
    
    In brief, the new layout looks like this:
    ```
    <build_base>/<relative_dir>/<testname>.<revision>.<mode>/
        stamp
        <testname>.err
        <testname>.out
        a (binary)
        auxiliary/lib<auxname>.dylib
        auxiliary/<auxname>/<auxname>.err
        auxiliary/<auxname>/<auxname>.out
    ```
    (revision and mode are optional)
    ehuss committed May 17, 2018
    Configuration menu
    Copy the full SHA
    e3d8fc5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f414b1 View commit details
    Browse the repository at this point in the history
  4. Fix running multiple targets.

    The aux dir, which previously had the `stage_id` embedded in it, was picking up remnants from previous runs.
    ehuss committed May 17, 2018
    Configuration menu
    Copy the full SHA
    b8473de View commit details
    Browse the repository at this point in the history