From 52c3031a82f06906573d133c96703d54550f801a Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 30 Oct 2017 19:01:58 -0400 Subject: [PATCH] Internals: Rename selfTest, no functional change. --- src/V3Ast.h | 2 +- src/V3Graph.h | 2 +- src/V3GraphTest.cpp | 2 +- src/Verilator.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/V3Ast.h b/src/V3Ast.h index 32dbb5332..d971c3376 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -363,7 +363,7 @@ public: }; return names[m_e]; }; - static void test() { + static void selfTest() { UASSERT(0==strcmp(AstBasicDTypeKwd(_ENUM_MAX).ascii()," MAX"),"Enum array mismatch"); UASSERT(0==strcmp(AstBasicDTypeKwd(_ENUM_MAX).dpiType()," MAX"),"Enum array mismatch"); } diff --git a/src/V3Graph.h b/src/V3Graph.h index b546f2d8e..e3046a932 100644 --- a/src/V3Graph.h +++ b/src/V3Graph.h @@ -132,7 +132,7 @@ public: void dumpDotFilePrefixedAlways(const string& nameComment, bool colorAsSubgraph=false) const; void userClearVertices(); void userClearEdges(); - static void test(); + static void selfTest(); // CALLBACKS virtual void loopsMessageCb(V3GraphVertex* vertexp) { v3fatalSrc("Loops detected in graph: "<