code: def test_compile_flags(self):
      # Must contain an include directory, and define _GLIBCXX_USE_CXX11_ABI,
      # EIGEN_MAX_ALIGN_BYTES
      compile_flags = sysconfig_lib.get_compile_flags()
  
      def list_contains(items, regex_str):
          regex = re.compile(regex_str)
          return any(regex.match(item) for item in items)
  
      self.assertTrue(list_contains(compile_flags, ".*/include"))
      self.assertTrue(
          list_contains(compile_flags, ".*_GLIBCXX_USE_CXX11_ABI.*")
      )
      self.assertTrue(
          list_contains(compile_flags, ".*EIGEN_MAX_ALIGN_BYTES.*")
      )
      self.assertTrue(list_contains(compile_flags, ".*std.*"))
  
file_path: tensorflow-upstream/tensorflow/python/platform/sysconfig_test.py
imports: import re
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import sysconfig
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the SysconfigTest obj's underlying member method code with example usage: obj.test_compile_flags() and returns: any