Skip to content

Commit 86d669b

Browse files
committed
compiletests: unlock // {only,ignore}-* usage.
1 parent f7fc124 commit 86d669b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ codegen-units = 256
3939
[patch.crates-io]
4040
spirv-std = { path = "./crates/spirv-std" }
4141
spirv-std-macros = { path = "./crates/spirv-std/macros" }
42+
# HACK(eddyb) needed to include this PR (until it's part of a release):
43+
# * Manishearth/compiletest-rs#249 (for `// only-*` support)
44+
compiletest_rs = { git = "https://github.com/Manishearth/compiletest-rs.git", rev = "4ab843a1dc6ed9a82657d86d22397c6c5bb95b01" }

tests/ui/spirv-attr/all-builtins.rs.ignored renamed to tests/ui/spirv-attr/all-builtins.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This test currently fails because the only-vulkan1.1 compiletests flag is ignored. So, running
2-
// compiletests on e.g. --target-env opengl4.5 will attempt to execute this test and fail.
31
// build-pass
42
// only-vulkan1.1
53
// compile-flags: -Ctarget-feature=+DeviceGroup,+DrawParameters,+FragmentBarycentricNV,+FragmentDensityEXT,+FragmentFullyCoveredEXT,+Geometry,+GroupNonUniform,+GroupNonUniformBallot,+MeshShadingNV,+MultiView,+MultiViewport,+RayTracingKHR,+SampleRateShading,+ShaderSMBuiltinsNV,+ShaderStereoViewNV,+StencilExportEXT,+Tessellation,+ext:SPV_AMD_shader_explicit_vertex_parameter,+ext:SPV_EXT_fragment_fully_covered,+ext:SPV_EXT_fragment_invocation_density,+ext:SPV_EXT_shader_stencil_export,+ext:SPV_KHR_ray_tracing,+ext:SPV_NV_fragment_shader_barycentric,+ext:SPV_NV_mesh_shader,+ext:SPV_NV_shader_sm_builtins,+ext:SPV_NV_stereo_view_rendering

0 commit comments

Comments
 (0)