MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / all_engines

Function all_engines

test/decorators.py:242–251  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

240# default. in some tests we know that cross-VM differences may happen and
241# so are worth testing, and they should be marked with this decorator
242def all_engines(func):
243 assert callable(func)
244
245 @wraps(func)
246 def decorated(self, *args, **kwargs):
247 self.use_all_engines = True
248 self.set_setting('ENVIRONMENT', 'web,node,shell')
249 return func(self, *args, **kwargs)
250
251 return decorated
252
253
254# Decorator version of env_modify

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected