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?