summaryrefslogtreecommitdiff
path: root/test/testpy
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-06-30 13:14:04 -0700
committerRich Trott <rtrott@gmail.com>2017-08-26 16:30:35 -0700
commit70c775a810e68f274fb7963faa7d787e04a9b68f (patch)
tree3ad13aa1a592f73322b991183d3da7d53adb8464 /test/testpy
parentdf57d8bdccdc94e4d8327fc769d93dbadf8772c7 (diff)
downloadandroid-node-v8-70c775a810e68f274fb7963faa7d787e04a9b68f.tar.gz
android-node-v8-70c775a810e68f274fb7963faa7d787e04a9b68f.tar.bz2
android-node-v8-70c775a810e68f274fb7963faa7d787e04a9b68f.zip
test: run abort tests
Currently, tests in test/abort do not run in CI. This change configures the test runner to not write core files for abort tests and to run them. PR-URL: https://github.com/nodejs/node/pull/14013 Fixes: https://github.com/nodejs/node/issues/14012 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/testpy')
-rw-r--r--test/testpy/__init__.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/testpy/__init__.py b/test/testpy/__init__.py
index 0efabae02c..37e5ac710b 100644
--- a/test/testpy/__init__.py
+++ b/test/testpy/__init__.py
@@ -180,3 +180,15 @@ class AsyncHooksTestConfiguration(SimpleTestConfiguration):
for test in result:
test.parallel = True
return result
+
+class AbortTestConfiguration(SimpleTestConfiguration):
+ def __init__(self, context, root, section, additional=None):
+ super(AbortTestConfiguration, self).__init__(context, root, section,
+ additional)
+
+ def ListTests(self, current_path, path, arch, mode):
+ result = super(AbortTestConfiguration, self).ListTests(
+ current_path, path, arch, mode)
+ for test in result:
+ test.disable_core_files = True
+ return result