xref: /aosp_15_r20/external/gflags/test/gflags_strip_flags_test.cmake (revision 08ab5237c114d5c0eac1090c56f941d3f639d7d3)
1*08ab5237SOystein Eftevaagif (NOT BINARY)
2*08ab5237SOystein Eftevaag  message (FATAL_ERROR "BINARY file to check not specified!")
3*08ab5237SOystein Eftevaagendif ()
4*08ab5237SOystein Eftevaagfile (STRINGS "${BINARY}" strings REGEX "This text should be stripped out")
5*08ab5237SOystein Eftevaagif (strings)
6*08ab5237SOystein Eftevaag  message (FATAL_ERROR "Text not stripped from binary like it should be: ${BINARY}")
7*08ab5237SOystein Eftevaagendif ()
8