Skip to content
Snippets Groups Projects
Select Git revision
  • master-libyaml-test-suite
  • branch/default default protected
  • release/0.2.5
  • master
  • run-test-suite-2
  • master-2
  • release/test
  • testing
  • run-test-suite
  • perlpunk/fix-tag-chars
  • dist
  • packaging
  • release/0.2.4
  • run-test-suite-code
  • release/0.2.3
  • perlpunk/anchor-chars
  • release-0.1.8
  • run-test-suite-list
  • canonical-code-style
  • issue/10
20 results

run-parser-test-suite.c

Blame
    • Tina Müller (tinita)'s avatar
      6a65c52f9b06
      Add -h and --flow (on|off|keep) to run-*-test-suite (#187) · 6a65c52f9b06
      Tina Müller (tinita) authored
      With `--flow (keep|on)` run-parser-test-suite will output:
      
          +MAP {}
          +SEQ []
      
      run-emitter-test-suite will then emit flow style collections if requested:
      
          echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite | ./tests/run-emitter-test-suite
          echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite \
              --flow keep | ./tests/run-emitter-test-suite --flow keep
      
      Also: add that yaml_private.h include again that I had thrown out. Needed
      for printing directives.
      Wonder if there is a way to create a directive without using the private api.
      6a65c52f9b06
      History
      Add -h and --flow (on|off|keep) to run-*-test-suite (#187)
      Tina Müller (tinita) authored
      With `--flow (keep|on)` run-parser-test-suite will output:
      
          +MAP {}
          +SEQ []
      
      run-emitter-test-suite will then emit flow style collections if requested:
      
          echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite | ./tests/run-emitter-test-suite
          echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite \
              --flow keep | ./tests/run-emitter-test-suite --flow keep
      
      Also: add that yaml_private.h include again that I had thrown out. Needed
      for printing directives.
      Wonder if there is a way to create a directive without using the private api.