summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-10 17:47:41 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-10 17:47:41 -0700
commit0fef5d603198ac4563cf5e26b4989861f1f7d78d (patch)
treea734e01b1d15d0cfa00a150162a8276f361cf228 /src/base/abci
parent4bafc98abadaa034749e1844784021865471966f (diff)
downloadabc-0fef5d603198ac4563cf5e26b4989861f1f7d78d.tar.gz
abc-0fef5d603198ac4563cf5e26b4989861f1f7d78d.tar.bz2
abc-0fef5d603198ac4563cf5e26b4989861f1f7d78d.zip
Command to test console colors.
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index 623bc216..10885cf3 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -171,6 +171,7 @@ static int Abc_CommandInter ( Abc_Frame_t * pAbc, int argc, cha
static int Abc_CommandBb2Wb ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandOutdec ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandNodeDup ( Abc_Frame_t * pAbc, int argc, char ** argv );
+static int Abc_CommandTestColor ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandTest ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandQuaVar ( Abc_Frame_t * pAbc, int argc, char ** argv );
@@ -744,6 +745,7 @@ void Abc_Init( Abc_Frame_t * pAbc )
Cmd_CommandAdd( pAbc, "Various", "bb2wb", Abc_CommandBb2Wb, 0 );
Cmd_CommandAdd( pAbc, "Various", "outdec", Abc_CommandOutdec, 1 );
Cmd_CommandAdd( pAbc, "Various", "nodedup", Abc_CommandNodeDup, 1 );
+ Cmd_CommandAdd( pAbc, "Various", "testcolor", Abc_CommandTestColor, 0 );
Cmd_CommandAdd( pAbc, "Various", "test", Abc_CommandTest, 0 );
// Cmd_CommandAdd( pAbc, "Various", "qbf_solve", Abc_CommandTest, 0 );
@@ -10293,6 +10295,24 @@ usage:
SeeAlso []
***********************************************************************/
+int Abc_CommandTestColor( Abc_Frame_t * pAbc, int argc, char ** argv )
+{
+ extern void Abc_ColorTest();
+ Abc_ColorTest();
+ return 1;
+}
+
+/**Function*************************************************************
+
+ Synopsis []
+
+ Description []
+
+ SideEffects []
+
+ SeeAlso []
+
+***********************************************************************/
int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv )
{
Abc_Ntk_t * pNtk = Abc_FrameReadNtk(pAbc);