chore: update release scripts to support sudowoodo (#14170)
Backports the totality of our release script changes to support sudowoodo. Also backports changes that have been made to a few other release script files in master after 3-0-x was cut with the purpose of keeping them in sync.
This commit is contained in:
parent
44b0245ac4
commit
2ecdf4a0eb
15 changed files with 272 additions and 104 deletions
|
@ -18,6 +18,9 @@ if sys.platform == 'linux2':
|
|||
# will be picked up by electron.
|
||||
try:
|
||||
import lib.dbus_mock
|
||||
import atexit
|
||||
lib.dbus_mock.start()
|
||||
atexit.register(lib.dbus_mock.stop)
|
||||
except ImportError:
|
||||
# If not available, the powerMonitor tests will be skipped since
|
||||
# DBUS_SYSTEM_BUS_ADDRESS will not be set
|
||||
|
@ -55,6 +58,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