To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratortrema-config command
In order to specify C compiler options easily
As a developer using Trema
I want to use trema-config command
- Scenarios
-
- trema-config --cflags
- trema-config -c
- trema-config --libs
- trema-config -l
- trema-config --cflags --libs
- trema-config -c --libs
- trema-config --cflags -l
- trema-config -c -l
- trema-config --help
- trema-config -h
- trema-config --cflags
-
- When
-
I run
trema-config --cflags
- Then
- the output should match /^-I\S+lib -I\S+openflow$/
- trema-config -c
-
- When
-
I run
trema-config -c
- Then
- the output should match /^-I\S+lib -I\S+openflow$/
- trema-config --libs
-
- When
-
I run
trema-config --libs
- Then
- the output should match /^-L\S+lib -l.*/
- trema-config -l
-
- When
-
I run
trema-config -l
- Then
- the output should match /^-L\S+lib -l.*/
- 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.*/
- 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.*/
- 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.*/
- 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.*/
- trema-config --help
-
- When
-
I run
trema-config --help
- Then
-
the output should contain:
Usage: trema-config [OPTIONS ...] -c, --cflags -l, --libs
- trema-config -h
-
- When
-
I run
trema-config -h
- Then
-
the output should contain:
Usage: trema-config [OPTIONS ...] -c, --cflags -l, --libs
Last published over 7 years ago by y-higuchi.