(self, test_id, env, extra_args=None, *args, **kwargs)
| 80 | self.__tester.fail_test(1) |
| 81 | |
| 82 | def __call__(self, test_id, env, extra_args=None, *args, **kwargs): |
| 83 | if env == "" and not canSetEmptyEnvironmentVariable: |
| 84 | self.__assertionFailure("Can not set empty environment " |
| 85 | "variables on this platform.") |
| 86 | self.__registerTestId(str(test_id)) |
| 87 | if extra_args is None: |
| 88 | extra_args = [] |
| 89 | extra_args.append("---test-id---=%s" % test_id) |
| 90 | env_name = "BOOST_BUILD_USER_CONFIG" |
| 91 | previous_env = os.environ.get(env_name) |
| 92 | _env_set(env_name, env) |
| 93 | try: |
| 94 | self.__tester.run_build_system(extra_args, *args, **kwargs) |
| 95 | finally: |
| 96 | _env_set(env_name, previous_env) |
| 97 | |
| 98 | def __registerTestId(self, test_id): |
| 99 | if test_id in self.__test_ids: |
nothing calls this directly
no test coverage detected