summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-01-12 23:40:51 +0100
committerRod Vagg <rod@vagg.org>2015-01-13 13:46:52 +1100
commit7861ff47285084604963a9f269b6062a23acd8a2 (patch)
tree3f3a1684cbad9f8552de28dc6ed5ddf9dc508f82 /tools
parentf76722686b91cf1c8db05a116ea0a960a5a49e8a (diff)
downloadandroid-node-v8-7861ff47285084604963a9f269b6062a23acd8a2.tar.gz
android-node-v8-7861ff47285084604963a9f269b6062a23acd8a2.tar.bz2
android-node-v8-7861ff47285084604963a9f269b6062a23acd8a2.zip
test: create test-ci, modify test-all, fix cpplint
test: add test/addons to default test list `make test-all` and `python tools/test.py` will now also run the addon tests in test/addons. test: remove test-npm from test-all make target The test-npm target builds documentation, changes versioned files, clutters the current working directory with artifacts, etc. In short, it doesn't seem quite ready for inclusion in `make test-all`. test: add test-ci target, reduced test-all Add a test-ci target that is like test-all minus the (slow) pummel and gc test suites. This is primarily intended for the continuous integration, where we want decent coverage but don't want to wait for ages for tests to complete. cpplint: add -license/copyright to default filters Commit 3e1b1dd ("Remove excessive copyright/license boilerplate") trips up the copyright boilerplate style check. Disable it. PR-URL: https://github.com/iojs/io.js/pull/314 Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/cpplint.py2
-rwxr-xr-xtools/test.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/cpplint.py b/tools/cpplint.py
index 603c4aba97..5ab156124a 100644
--- a/tools/cpplint.py
+++ b/tools/cpplint.py
@@ -210,7 +210,7 @@ _ERROR_CATEGORIES = [
# flag. By default all errors are on, so only add here categories that should be
# off by default (i.e., categories that must be enabled by the --filter= flags).
# All entries here should start with a '-' or '+', as in the --filter= flag.
-_DEFAULT_FILTERS = [ '-build/include_alpha' ]
+_DEFAULT_FILTERS = [ '-build/include_alpha', '-legal/copyright' ]
# We used to check for high-bit characters, but after much discussion we
# decided those were OK, as long as they were in UTF-8 and didn't represent
diff --git a/tools/test.py b/tools/test.py
index c78599bf06..074a918f2a 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -1357,6 +1357,7 @@ BUILT_IN_TESTS = [
'pummel',
'message',
'internet',
+ 'addons',
'gc',
'debugger',
]