Skip to content

No more test baselines #46

@secure-sw-dev-bot

Description

@secure-sw-dev-bot

This issue was copied from checkedc/checkedc-clang#46


It turns out that the unexpected test failures we were seeing were caused by LLVM/clang having some tests that depend on Unix line endings. On Windows, Git can alter the line endings to match the Windows line ending convention, breaking those tests. The fix recommended by the LLVM/clang project documentation is to set autocrlf to false, matching the behavior of subversion.

This change:

  • Updates the enlistment instructions so that line endings for
    source files and test files are configured to be Unix line endings
    on Windows.
  • Removes the test baseline instructions. We don't need baselines,
    as there should be no unexpected failures.
  • Adds some information about line endings to the test section
    because they can cause unexpected test failures.
  • Updates the working on Windows section to caution developers to
    terminate files with line feeds on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions