Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !3772

i#3770: Eliminate drcachesim test races

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i3770-racy-offline-tests into master Aug 07, 2019
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 6

Adds a new drcachesim option -subdir_prefix so our tests using the same application can all have unique directory name prefixes, avoiding races on removing and finding output files while testing. We need to store this string into a plain-char buffer at init time to avoid using malloc mid-run.

Updates all of the non-static (plus the L0filter static) drcachesim offline tests to use the new flag, eliminating the need for the existing dependency marking and fixing races in the new tests which were not completely marked versus all the prior tests.

Fixes #3770 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3770-racy-offline-tests