diff options
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/gc')
-rwxr-xr-x | src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/gc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/gc b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/gc index 6ef9f31fc5b..b1d8d2e1f67 100755 --- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/gc +++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/gc @@ -106,6 +106,7 @@ if [ ! -z "$GEN" ]; then popd pushd layers go run gen.go | gofmt > iana_ports.go + go run gen2.go | gofmt > enums_generated.go popd fi @@ -126,6 +127,9 @@ if [ -f /usr/include/pcap.h ]; then Root pcap_tester --mode=filtered Root pcap_tester --mode=timestamp || echo "You might not support timestamp sources" popd + pushd examples/afpacket + go build + popd pushd examples/pcapdump go build popd @@ -153,6 +157,9 @@ popd pushd tcpassembly go test ./... popd +pushd reassembly +go test ./... +popd pushd layers gofmt -w gen.go go build gen.go @@ -179,6 +186,16 @@ if [ -f /usr/include/pfring.h ]; then go build popd fi +pushd ip4defrag +go test ./... +popd +pushd defrag +go test ./... +popd + +for travis_script in `ls .travis.*.sh`; do + ./$travis_script +done # Run our initial commit git commit "$@" |