test: re-enable failing Node.js specs (#31315)
This commit is contained in:
parent
22ae945311
commit
757c01587a
4 changed files with 17 additions and 41 deletions
|
@ -1796,19 +1796,30 @@ index a572d9b95853730a29a67349b46d47d6180586f3..888a95f93411a9168b75751e0af12c74
|
|||
// The NAPI_VERSION provided by this version of the runtime. This is the version
|
||||
// which the Node binary being built supports.
|
||||
diff --git a/tools/generate_config_gypi.py b/tools/generate_config_gypi.py
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..01f62d4ae6e3b9d539444e3dff069f0011353caa
|
||||
new file mode 100755
|
||||
index 0000000000000000000000000000000000000000..c12dcb2b844f7f415318d81115ff697fd8eb4689
|
||||
--- /dev/null
|
||||
+++ b/tools/generate_config_gypi.py
|
||||
@@ -0,0 +1,11 @@
|
||||
+# TODO: assess which if any of the config variables are important to include in
|
||||
+# the js2c'd config.gypi.
|
||||
@@ -0,0 +1,22 @@
|
||||
+import sys
|
||||
+import json
|
||||
+
|
||||
+def main(args):
|
||||
+ out = args[0]
|
||||
+ output = {
|
||||
+ 'variables': {
|
||||
+ 'built_with_electron': 1,
|
||||
+ 'v8_enable_i18n_support': 1,
|
||||
+ },
|
||||
+ 'include_dirs': [],
|
||||
+ 'libraries': [],
|
||||
+ 'defines': [],
|
||||
+ 'cflags': [],
|
||||
+ }
|
||||
+
|
||||
+ with open(out, 'w') as f:
|
||||
+ f.write("{'variables':{}}\n")
|
||||
+ f.write(json.dumps(output))
|
||||
+ f.write("\n")
|
||||
+
|
||||
+if __name__ == '__main__':
|
||||
+ main(sys.argv[1:])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue