init repo.
This commit is contained in:
7
third_party/gflags/test/gflags_strip_flags_test.cmake
vendored
Normal file
7
third_party/gflags/test/gflags_strip_flags_test.cmake
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
if (NOT BINARY)
|
||||
message (FATAL_ERROR "BINARY file to check not specified!")
|
||||
endif ()
|
||||
file (STRINGS "${BINARY}" strings REGEX "This text should be stripped out")
|
||||
if (strings)
|
||||
message (FATAL_ERROR "Text not stripped from binary like it should be: ${BINARY}")
|
||||
endif ()
|
Reference in New Issue
Block a user