tools: support testing known issues
authorcjihrig <cjihrig@gmail.com>
Wed, 2 Mar 2016 17:12:47 +0000 (12:12 -0500)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 20:07:10 +0000 (13:07 -0700)
commit7501ddc878cb1cb3471a6247e858596ed4555f98
treeec883e5463ee3e9b2e448bcd6b9121b302a7973e
parent10ec1d2a6bed2b3ebc2f7bfb9751bf100c8cd422
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
Backport-URL: https://github.com/nodejs/node/pull/5785
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>
Conflicts:
tools/test.py
Makefile
test/known_issues/testcfg.py [new file with mode: 0644]
tools/test.py
vcbuild.bat