spec: Disable old APIs in tests

This commit is contained in:
Cheng Zhao 2015-11-12 23:02:39 +08:00
parent edd807d227
commit ce6a7c7d08

View file

@ -16,6 +16,9 @@ PRODUCT_NAME = atom_gyp()['product_name%']
def main():
os.chdir(SOURCE_ROOT)
# Disable old APIs
os.environ['ELECTRON_HIDE_INTERNAL_MODULES'] = 'true'
config = 'D'
if len(sys.argv) == 2 and sys.argv[1] == '-R':
config = 'R'