summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatheus Marchini <matheus@sthima.com>2018-05-28 14:48:47 -0300
committerMatheus Marchini <matheus@sthima.com>2018-06-06 11:10:12 -0700
commite1fc52d9e6aba7005d1c1017b4825b307ec3859e (patch)
tree2d9c1831a7779cfc9f33dcfaaa3e8709ab001726 /test
parentb7c7c0c4961fd4e382b7cadcfb7c8360b8904a4a (diff)
downloadandroid-node-v8-e1fc52d9e6aba7005d1c1017b4825b307ec3859e.tar.gz
android-node-v8-e1fc52d9e6aba7005d1c1017b4825b307ec3859e.tar.bz2
android-node-v8-e1fc52d9e6aba7005d1c1017b4825b307ec3859e.zip
test: create new directory v8-updates
`v8-updates` holds all tests related to V8 updates, for example, testing for postmortem metadata chages. PR-URL: https://github.com/nodejs/node/pull/20783 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/parallel.status2
-rw-r--r--test/v8-updates/test-postmortem-metadata.js (renamed from test/parallel/test-postmortem-metadata.js)0
-rw-r--r--test/v8-updates/testcfg.py6
-rw-r--r--test/v8-updates/v8-updates.status21
4 files changed, 27 insertions, 2 deletions
diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status
index acc0c95b6a..fbb105e54c 100644
--- a/test/parallel/parallel.status
+++ b/test/parallel/parallel.status
@@ -5,8 +5,6 @@ prefix parallel
# sample-test : PASS,FLAKY
[true] # This section applies to all platforms
-# Postmortem debugging data is prone to accidental removal during V8 updates.
-test-postmortem-metadata: PASS,FLAKY
[$system==win32]
test-child-process-fork-net-socket: PASS,FLAKY
diff --git a/test/parallel/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js
index 82dfb2c9a9..82dfb2c9a9 100644
--- a/test/parallel/test-postmortem-metadata.js
+++ b/test/v8-updates/test-postmortem-metadata.js
diff --git a/test/v8-updates/testcfg.py b/test/v8-updates/testcfg.py
new file mode 100644
index 0000000000..cec2589f9b
--- /dev/null
+++ b/test/v8-updates/testcfg.py
@@ -0,0 +1,6 @@
+import sys, os
+sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
+import testpy
+
+def GetConfiguration(context, root):
+ return testpy.ParallelTestConfiguration(context, root, 'v8-updates')
diff --git a/test/v8-updates/v8-updates.status b/test/v8-updates/v8-updates.status
new file mode 100644
index 0000000000..46149f4751
--- /dev/null
+++ b/test/v8-updates/v8-updates.status
@@ -0,0 +1,21 @@
+prefix v8-updates
+
+# To mark a test as flaky, list the test name in the appropriate section
+# below, without ".js", followed by ": PASS,FLAKY". Example:
+# sample-test : PASS,FLAKY
+
+[true] # This section applies to all platforms
+
+[$system==win32]
+
+[$system==linux]
+
+[$system==macos]
+
+[$arch==arm || $arch==arm64]
+
+[$system==solaris] # Also applies to SmartOS
+
+[$system==freebsd]
+
+[$system==aix]