Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • 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
  • Meta
  • buck
  • Issues
  • #1091
Closed
Open
Issue created Jan 10, 2017 by Administrator@rootContributor

snapshot_reference_images_path can't be verified

Created by: nguyenhuy

I'm trying to use napshot_reference_images_path introduced in #1082. Here is the relevant line in my BUCK file:

snapshot_reference_images_path='AsyncDisplayKitTests/ReferenceImages',

I got this error when I tried to run buck test:

BUILD FAILED: //:Tests: parameter 'snapshotReferenceImagesPath': no such file or directory 'AsyncDisplayKitTests/ReferenceImages'

If I change the path to a valid path, say AsyncDisplayKitTests/ReferenceImages_iOS_10, the build will proceed. But then FBSnapshotTestCase will try to append a suffix to this path, thus turn it into ReferenceImages_iOS_10_iOS_10 and tests will fail because it's no longer a valid path.

I think snapshot_reference_images_path should be either a string or an unverified path. Or maybe I'm using it wrong?

Assignee
Assign to
Time tracking