spec: Disable old APIs in tests
This commit is contained in:
parent
edd807d227
commit
ce6a7c7d08
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ PRODUCT_NAME = atom_gyp()['product_name%']
|
||||||
def main():
|
def main():
|
||||||
os.chdir(SOURCE_ROOT)
|
os.chdir(SOURCE_ROOT)
|
||||||
|
|
||||||
|
# Disable old APIs
|
||||||
|
os.environ['ELECTRON_HIDE_INTERNAL_MODULES'] = 'true'
|
||||||
|
|
||||||
config = 'D'
|
config = 'D'
|
||||||
if len(sys.argv) == 2 and sys.argv[1] == '-R':
|
if len(sys.argv) == 2 and sys.argv[1] == '-R':
|
||||||
config = 'R'
|
config = 'R'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue