|
|
@@ -15,8 +15,7 @@ script:
|
|
|
- go test -race -v ./common/fragmentor
|
|
|
- go test -race -v ./common/obfuscator
|
|
|
- go test -race -v ./common/osl
|
|
|
-# TODO: enable all packetman tests with tag PSIPHON_RUN_PACKET_MANIPULATOR_TEST; requires CAP_NETADMIN and CAP_RAW
|
|
|
-- go test -race -v ./common/packetman
|
|
|
+- go test -race -v -tags "PSIPHON_RUN_PACKET_MANIPULATOR_TEST" ./common/packetman
|
|
|
- go test -race -v ./common/parameters
|
|
|
- go test -race -v ./common/protocol
|
|
|
- go test -race -v ./common/quic
|
|
|
@@ -29,8 +28,7 @@ script:
|
|
|
- go test -race -v ./common/values
|
|
|
- go test -race -v ./common/wildcard
|
|
|
- go test -race -v ./transferstats
|
|
|
-# TODO: see "packetman" comment above
|
|
|
-- go test -race -v ./server
|
|
|
+- go test -race -v -tags "PSIPHON_RUN_PACKET_MANIPULATOR_TEST" ./server
|
|
|
- go test -race -v ./server/psinet
|
|
|
- go test -race -v ../Server/logging/analysis
|
|
|
- go test -race -v ../ClientLibrary/clientlib
|
|
|
@@ -42,7 +40,7 @@ script:
|
|
|
- go test -v -covermode=count -coverprofile=obfuscator.coverprofile ./common/obfuscator
|
|
|
- go test -v -covermode=count -coverprofile=osl.coverprofile ./common/osl
|
|
|
- go test -v -covermode=count -coverprofile=parameters.coverprofile ./common/parameters
|
|
|
-- go test -v -covermode=count -coverprofile=packetman.coverprofile ./common/packetman
|
|
|
+- go test -v -covermode=count -coverprofile=packetman.coverprofile -tags "PSIPHON_RUN_PACKET_MANIPULATOR_TEST" ./common/packetman
|
|
|
- go test -v -covermode=count -coverprofile=protocol.coverprofile ./common/protocol
|
|
|
- go test -v -covermode=count -coverprofile=quic.coverprofile ./common/quic
|
|
|
- go test -v -covermode=count -coverprofile=tactics.coverprofile ./common/tactics
|
|
|
@@ -51,7 +49,7 @@ script:
|
|
|
- go test -v -covermode=count -coverprofile=values.coverprofile ./common/values
|
|
|
- go test -v -covermode=count -coverprofile=wildcard.coverprofile ./common/wildcard
|
|
|
- go test -v -covermode=count -coverprofile=transferstats.coverprofile ./transferstats
|
|
|
-- go test -v -covermode=count -coverprofile=server.coverprofile ./server
|
|
|
+- go test -v -covermode=count -coverprofile=server.coverprofile -tags "PSIPHON_RUN_PACKET_MANIPULATOR_TEST" ./server
|
|
|
- go test -v -covermode=count -coverprofile=psinet.coverprofile ./server/psinet
|
|
|
- go test -v -covermode=count -coverprofile=analysis.coverprofile ../Server/logging/analysis
|
|
|
- go test -v -covermode=count -coverprofile=clientlib.coverprofile ../ClientLibrary/clientlib
|