test: do not lint macros files (again)

PR-URL: https://github.com/nodejs/node/pull/24886
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
pull/24954/head
cclauss 2018-12-07 07:38:20 +01:00 committed by Daniel Bevenius
parent b337b58146
commit 50cf6e7ddf
3 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,9 @@
# This file is used by tools/js2c.py to preprocess out the DTRACE symbols in # This file is used by tools/js2c.py to preprocess out the DTRACE symbols in
# builds that don't support DTrace. This is not used in builds that support # builds that don't support DTrace. This is not used in builds that support
# DTrace. # DTrace.
# flake8: noqa
macro DTRACE_HTTP_CLIENT_REQUEST(x) = ; macro DTRACE_HTTP_CLIENT_REQUEST(x) = ;
macro DTRACE_HTTP_CLIENT_RESPONSE(x) = ; macro DTRACE_HTTP_CLIENT_RESPONSE(x) = ;
macro DTRACE_HTTP_SERVER_REQUEST(x) = ; macro DTRACE_HTTP_SERVER_REQUEST(x) = ;

View File

@ -1,3 +1,5 @@
# flake8: noqa
macro DCHECK(x) = do { if (!(x)) (process._rawDebug("DCHECK: x == true"), process.abort()) } while (0); macro DCHECK(x) = do { if (!(x)) (process._rawDebug("DCHECK: x == true"), process.abort()) } while (0);
macro DCHECK_EQ(a, b) = DCHECK((a) === (b)); macro DCHECK_EQ(a, b) = DCHECK((a) === (b));
macro DCHECK_GE(a, b) = DCHECK((a) >= (b)); macro DCHECK_GE(a, b) = DCHECK((a) >= (b));

View File

@ -1,3 +1,5 @@
# flake8: noqa
macro DCHECK(x) = void(x); macro DCHECK(x) = void(x);
macro DCHECK_EQ(a, b) = void(a, b); macro DCHECK_EQ(a, b) = void(a, b);
macro DCHECK_GE(a, b) = void(a, b); macro DCHECK_GE(a, b) = void(a, b);