Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S shared-mime-info
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xdg
  • shared-mime-info
  • Merge requests
  • !154

Generate and commit a missing test file

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Igor Kushnir requested to merge igorkushnir/shared-mime-info:generate-missing-test-file into master Oct 10, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

b969e1c7 added a reference to this file and a command to generate it into tests/mime-detection/list, but didn't commit the generated file itself. Now when test-mime fails for some other reason (e.g. after adding a failing test case), the following error message is printed: Could not open /path/to/shared-mime-info/tests/mime-detection/test-not-dtshd.txt

Presumably when the test file does not exist, the intended 'data' test does not run. The testing system should be improved to report such nonexistent file issues as test failures.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: generate-missing-test-file