diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-01 22:31:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-01 22:31:26 +0000 |
commit | fe90fbdbd18eed8712bbc30909efb1b7870f859f (patch) | |
tree | eee1c00f81d018b0b2ec87c6a61d59947ad75606 /NxWidgets/UnitTests | |
parent | fd4dd86fe8de2ddda1e8723973e8b5774528ebb7 (diff) | |
download | nuttx-fe90fbdbd18eed8712bbc30909efb1b7870f859f.tar.gz nuttx-fe90fbdbd18eed8712bbc30909efb1b7870f859f.tar.bz2 nuttx-fe90fbdbd18eed8712bbc30909efb1b7870f859f.zip |
NxWM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4683 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/UnitTests')
-rw-r--r-- | NxWidgets/UnitTests/nxwm/main.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/NxWidgets/UnitTests/nxwm/main.cxx b/NxWidgets/UnitTests/nxwm/main.cxx index d93d9b391..f07cdb19c 100644 --- a/NxWidgets/UnitTests/nxwm/main.cxx +++ b/NxWidgets/UnitTests/nxwm/main.cxx @@ -172,6 +172,17 @@ int MAIN_NAME(int argc, char *argv[]) return EXIT_FAILURE; } + // Initialize the NSH library + + printf(MAIN_STRING "Initialize the NSH library\n"); + if (!NxWM::nshlibInitialize()) + { + printf(MAIN_STRING "ERROR: Failed to initialize the NSH library\n"); + delete window; + delete g_nxwmtest.taskbar; + return EXIT_FAILURE; + } + // Add the NxConsole application to the start window NxWM::CNxConsole *console = (NxWM::CNxConsole *)0; // Avoid compiler complaint |