Skip to content
  1. Apr 14, 2021
    • Dzmitry Malyshau's avatar
      Remove cargo-insta · c2c93e4e
      Dzmitry Malyshau authored
      c2c93e4e
    • Jim Blandy's avatar
      Makefile: Be more flexible in removing YAML headers from snapshots. · f7fdf6b5
      Jim Blandy authored
      The snapshot files in tests/out start with headers like this:
      
          ---
          source: tests/snapshots.rs
          expression: dis
          ---
          ; SPIR-V
          ; Version: 1.0
          ; Generator: rspirv
          ...
      
      The Makefile's `validate-foo` targets trim off those lines with `tail -n +5`
      before submitting their test to the validators.
      
      However, some versions of the `insta` crate seem to generate headers with an
      extra blank line, like this:
      
          ---
          source: tests/snapshots.rs
          expression: dis
      
          ---
      
      This makes the `validate-foo` targets unhappy.
      
      This commit changes the `validate-foo` targets to use `sed` to cope with both
      kinds of headers.
      f7fdf6b5
  2. Apr 13, 2021
  3. Apr 12, 2021
  4. Apr 11, 2021
  5. Apr 10, 2021
  6. Apr 09, 2021
  7. Apr 08, 2021
  8. Apr 07, 2021
  9. Apr 05, 2021
  10. Apr 04, 2021