forked from github/verilator
Internals: Rename selfTest, no functional change.
This commit is contained in:
parent
df471e87eb
commit
52c3031a82
@ -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");
|
||||
}
|
||||
|
@ -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: "<<vertexp); }
|
||||
|
@ -351,7 +351,7 @@ void V3GraphTestImport::dotImport() {
|
||||
|
||||
//======================================================================
|
||||
|
||||
void V3Graph::test() {
|
||||
void V3Graph::selfTest() {
|
||||
// Execute all of the tests
|
||||
UINFO(2,__FUNCTION__<<": "<<endl);
|
||||
{ V3GraphTestStrong test; test.run(); }
|
||||
|
@ -585,8 +585,8 @@ int main(int argc, char** argv, char** env) {
|
||||
|
||||
// Internal tests (after option parsing as need debug() setting)
|
||||
VHashSha1::selfTest();
|
||||
AstBasicDTypeKwd::test();
|
||||
V3Graph::test();
|
||||
AstBasicDTypeKwd::selfTest();
|
||||
V3Graph::selfTest();
|
||||
|
||||
//--FRONTEND------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user