refactor: use env var to skip native module tests on win32/debug (#13890)
This commit is contained in:
parent
4990b3990b
commit
a4f02724bf
2 changed files with 3 additions and 1 deletions
|
@ -55,6 +55,8 @@ def main():
|
|||
electron = os.path.join(SOURCE_ROOT, 'out', config,
|
||||
'{0}.exe'.format(PROJECT_NAME))
|
||||
resources_path = os.path.join(SOURCE_ROOT, 'out', config)
|
||||
if config != 'R':
|
||||
os.environ['ELECTRON_SKIP_NATIVE_MODULE_TESTS'] = '1'
|
||||
else:
|
||||
electron = os.path.join(SOURCE_ROOT, 'out', config, PROJECT_NAME)
|
||||
resources_path = os.path.join(SOURCE_ROOT, 'out', config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue