Sha256: 6634f44c1c207c601ec8ba079d4c5607d41e4ad3ededd2a0c667784123951691

Contents?: true

Size: 1.61 KB

Versions: 33

Compression:

Stored size: 1.61 KB

Contents

Feature: trema-config command

  In order to specify C compiler options easily
  As a developer using Trema
  I want to use trema-config command

  Scenario: trema-config --cflags
    When I run `trema-config --cflags`
    Then the output should match /^-I\S+lib -I\S+openflow$/

  Scenario: trema-config -c
    When I run `trema-config -c`
    Then the output should match /^-I\S+lib -I\S+openflow$/

  Scenario: trema-config --libs
    When I run `trema-config --libs`
    Then the output should match /^-L\S+lib -l.*/

  Scenario: trema-config -l
    When I run `trema-config -l`
    Then the output should match /^-L\S+lib -l.*/

  Scenario: trema-config --cflags --libs
    When I run `trema-config --cflags --libs`
    Then the output should match /^-I\S+lib -I\S+openflow -L\S+lib -l.*/

  Scenario: trema-config -c --libs
    When I run `trema-config -c --libs`
    Then the output should match /^-I\S+lib -I\S+openflow -L\S+lib -l.*/

  Scenario: trema-config --cflags -l
    When I run `trema-config --cflags -l`
    Then the output should match /^-I\S+lib -I\S+openflow -L\S+lib -l.*/

  Scenario: trema-config -c -l
    When I run `trema-config -c -l`
    Then the output should match /^-I\S+lib -I\S+openflow -L\S+lib -l.*/

  Scenario: trema-config --help
    When I run `trema-config --help`
    Then the output should contain:
      """
      Usage: trema-config [OPTIONS ...]
          -c, --cflags
          -l, --libs
      """

  Scenario: trema-config -h
    When I run `trema-config -h`
    Then the output should contain:
      """
      Usage: trema-config [OPTIONS ...]
          -c, --cflags
          -l, --libs
      """

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
trema-0.4.7 features/core/trema-config.feature
trema-0.4.6 features/core/trema-config.feature
trema-0.4.5 features/core/trema-config.feature
trema-0.4.4 features/core/trema-config.feature
trema-0.4.3 features/core/trema-config.feature
trema-0.4.2 features/core/trema-config.feature
trema-0.4.1 features/core/trema-config.feature
trema-0.4.0 features/core/trema-config.feature
trema-0.3.21 features/core/trema-config.feature
trema-0.3.20 features/core/trema-config.feature
trema-0.3.19 features/core/trema-config.feature
trema-0.3.18 features/core/trema-config.feature
trema-0.3.17 features/core/trema-config.feature
trema-0.3.16 features/core/trema-config.feature
trema-0.3.15 features/core/trema-config.feature
trema-0.3.14 features/core/trema-config.feature
trema-0.3.13 features/core/trema-config.feature
trema-0.3.12 features/core/trema-config.feature
trema-0.3.11 features/core/trema-config.feature
trema-0.3.10 features/core/trema-config.feature