Returns True if the compiler supports 'flags'.
(self, flags)
| 1079 | |
| 1080 | @_Cache.me |
| 1081 | def cc_test_flags(self, flags): |
| 1082 | """ |
| 1083 | Returns True if the compiler supports 'flags'. |
| 1084 | """ |
| 1085 | assert(isinstance(flags, list)) |
| 1086 | self.dist_log("testing flags", flags) |
| 1087 | test_path = os.path.join(self.conf_check_path, "test_flags.c") |
| 1088 | test = self.dist_test(test_path, flags) |
| 1089 | if not test: |
| 1090 | self.dist_log("testing failed", stderr=True) |
| 1091 | return test |
| 1092 | |
| 1093 | @_Cache.me |
| 1094 | def cc_test_cexpr(self, cexpr, flags=[]): |
no test coverage detected