소스 검색

remove json tag

Darien Raymond 7 년 전
부모
커밋
655fb40b3f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      testing/scenarios/common_coverage.go
  2. 1 1
      testing/scenarios/common_regular.go

+ 1 - 1
testing/scenarios/common_coverage.go

@@ -17,7 +17,7 @@ func BuildV2Ray() error {
 		return nil
 	}
 
-	cmd := exec.Command("go", "test", "-tags", "json coverage coveragemain", "-coverpkg", "v2ray.com/core/...", "-c", "-o", testBinaryPath, GetSourcePath())
+	cmd := exec.Command("go", "test", "-tags", "coverage coveragemain", "-coverpkg", "v2ray.com/core/...", "-c", "-o", testBinaryPath, GetSourcePath())
 	return cmd.Run()
 }
 

+ 1 - 1
testing/scenarios/common_regular.go

@@ -16,7 +16,7 @@ func BuildV2Ray() error {
 	}
 
 	fmt.Printf("Building V2Ray into path (%s)\n", testBinaryPath)
-	cmd := exec.Command("go", "build", "-tags=json", "-o="+testBinaryPath, GetSourcePath())
+	cmd := exec.Command("go", "build", "-o="+testBinaryPath, GetSourcePath())
 	return cmd.Run()
 }