Testing

These tests work for all types of installation.

First Test

If the installation is done just type the following command:
mono --version

cubie@Cubian:~$ mono --version

Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-7)

Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

       TLS:           __thread

       SIGSEGV:       normal

       Notifications: epoll

       Architecture:  armel,vfp+hard

       Disabled:      none

       Misc:          softdebug

       LLVM:          supported, not enabled.

       GC:            sgen

 

Ensure that you find the verb "hard" in the Architecture line.

If you get the hard info in the output you are done with the mono installation.

The version should match your installed / compiled version.

Check Hard Float Unit

There where some hard float issues in the past releases of Mono. You can simple check if it works with the csharp shell.

cubie@Cubian ~ $ date

Sun Mar 16 13:12:07 UTC 2014

cubie@Cubian ~ $ csharp

Mono C# Shell, type "help;" for help

 

Enter statements below.

csharp> DateTime.Now;

03/16/2014 13:12:39

csharp>

You must see the correct datetime. Otherwise your mono is damaged.

Check WinForms

If you need to run WinForms applications just compile a simple demo with a TextBox and ComboBox. You will receive errors when you start that application under Mono. If the application starts fine your Mono is ok.

Hint
It could be important to run the application with sudo. Just check that.


Send feedback on this topic
Copyright (C) 2013-2014 Dominik Schmidt / Holger Hemmecke. All rights reserved.