summaryrefslogtreecommitdiff
path: root/test/known_issues
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2016-03-02 12:12:47 -0500
committercjihrig <cjihrig@gmail.com>2016-03-04 08:50:42 -0500
commit32e1f9d0b54fa7c90077b41d763ffd8d0532a0a1 (patch)
tree7916e136a32c7833f1f7f3612385a884a0ad8f77 /test/known_issues
parentad0ce574320966ab2c7410a2c2ec8530e2bae500 (diff)
downloadandroid-node-v8-32e1f9d0b54fa7c90077b41d763ffd8d0532a0a1.tar.gz
android-node-v8-32e1f9d0b54fa7c90077b41d763ffd8d0532a0a1.tar.bz2
android-node-v8-32e1f9d0b54fa7c90077b41d763ffd8d0532a0a1.zip
tools: support testing known issues
This commit adds a known_issues directory to the test directory for scripts that reproduce known bugs. Since these scripts are expected to fail, it also adds a --expect-fail flag to test.py which reports tests as successful when they fail. Refs: https://github.com/nodejs/testing/issues/18 PR-URL: https://github.com/nodejs/node/pull/5528 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/known_issues')
-rw-r--r--test/known_issues/testcfg.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/known_issues/testcfg.py b/test/known_issues/testcfg.py
new file mode 100644
index 0000000000..af4f56574b
--- /dev/null
+++ b/test/known_issues/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.SimpleTestConfiguration(context, root, 'known_issues')