Added googlemock tests
This commit is contained in:
		
							parent
							
								
									dd94055b01
								
							
						
					
					
						commit
						abdad087f6
					
				
							
								
								
									
										29
									
								
								googlemock/test/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								googlemock/test/BUILD
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,29 @@
 | 
			
		||||
# Copyright 2017 Google Inc. All Rights Reserved.
 | 
			
		||||
# Author: misterg@google.com (Gennadiy Civil)
 | 
			
		||||
#
 | 
			
		||||
# Description:
 | 
			
		||||
#   Bazel BUILD file for googletest-googlemock, initial revision
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
""" gmock own tests """
 | 
			
		||||
 | 
			
		||||
cc_test(
 | 
			
		||||
    name = "gmock_all_test",
 | 
			
		||||
    size = "small",
 | 
			
		||||
    srcs = glob(
 | 
			
		||||
        include = [
 | 
			
		||||
            "gmock-*.cc",
 | 
			
		||||
        ],
 | 
			
		||||
    ),
 | 
			
		||||
    copts = select({
 | 
			
		||||
        "//:win": ["-DGTEST_USE_OWN_TR1_TUPLE=0"],
 | 
			
		||||
        "//conditions:default": ["-DGTEST_USE_OWN_TR1_TUPLE=1"],
 | 
			
		||||
    }),
 | 
			
		||||
    linkopts = select({
 | 
			
		||||
        "//:win": [],
 | 
			
		||||
        "//conditions:default": [
 | 
			
		||||
            "-pthread",
 | 
			
		||||
        ],
 | 
			
		||||
    }),
 | 
			
		||||
    deps = ["//:gtest"],
 | 
			
		||||
)
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user