modelica-tools / csv-compare

Tool to compare curves from one csv files with curves from other csv files using an adjustable tolerance
https://www.modelica.org
BSD 3-Clause "New" or "Revised" License
25 stars 15 forks source link

Test on Linux machine #9

Closed svenruetz closed 9 years ago

svenruetz commented 9 years ago

Compile and test the current code on a linux test system comparing the MSL regression testing tree with itself.

svenruetz commented 9 years ago

Succesfull test with:

~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty

using instructions in Build.md and mono version:

$ mono --version
Mono JIT compiler version 3.12.1 (tarball Fri Mar  6 19:12:47 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen
tbeu commented 9 years ago

It also builds with

$ lsb_release -a
LSB Version::core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 5.10 (Final)
Release:        5.10
Codename:       Final

and

$ mono --version
Mono JIT compiler version 2.10.8 (tarball Fri Jul 13 16:12:32 EDT 2012)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug 
LLVM:          supported, not enabled.
GC:            Included Boehm (with typed GC and Parallel Mark)

but gives some warnings though

CurveCompare/Algorithms/Rectangle.cs(327,18): warning CS0219: The variable `visualize' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(329,26): warning CS0219: The variable `XLoops' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(330,26): warning CS0219: The variable `YLoops' is assigned but its value is never used
CurveCompare/CurveCompare.cs(39,18): warning CS0219: The variable `saveImage' is assigned but its value is never used
CsvFile.cs(275,22): warning CS0219: The variable `tubeOptions' is assigned but its value is never used
Report.cs(374,18): warning CS0219: The variable `TitleFont' is assigned but its value is never used
nplot/AdapterUtils.cs(722,32): warning CS0414: The private field `NPlot.AdapterUtils.DataGetter_MultiRows.abscissaName_' is assigned but its value is never used
Program.cs(49,31): warning CS0414: The private field `CsvCompare.Program._sCmdArgs' is assigned but its value is never used
svenruetz commented 9 years ago

thank you, warnings will be removed before release ;)

thorade commented 8 years ago

Just installed it on my virtual Xubuntu and I also get a couple of warnings:

thorade@thorade-VirtualBox:~/git/csv-compare$ make
rm -rf Modelica_ResultCompare/bin/
rm -rf Modelica_ResultCompare/obj/
xbuild /p:Configuration=Debug /verbosity:quiet /filelogger /flp:logfile=build.log;verbosity=diagnostic
XBuild Engine Version 12.0
Mono, Version 3.2.8.0
Copyright (C) 2005-2013 Various Mono authors
CurveCompare/Algorithms/Rectangle.cs(78,20): warning CS0219: The variable `epsilon' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(230,20): warning CS0219: The variable `epsilon' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(372,18): warning CS0219: The variable `visualize' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(373,26): warning CS0219: The variable `XLoops' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(374,26): warning CS0219: The variable `YLoops' is assigned but its value is never used
CsvFile.cs(284,22): warning CS0219: The variable `tubeOptions' is assigned but its value is never used
nplot/AdapterUtils.cs(722,11): warning CS0414: The private field `NPlot.AdapterUtils.DataGetter_MultiRows.abscissaName_' is assigned but its value is never used
xbuild /p:Configuration=Release /verbosity:quiet /filelogger /flp:logfile=build.log;verbosity=diagnostic
XBuild Engine Version 12.0
Mono, Version 3.2.8.0
Copyright (C) 2005-2013 Various Mono authors
CurveCompare/Algorithms/Rectangle.cs(78,20): warning CS0219: The variable `epsilon' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(230,20): warning CS0219: The variable `epsilon' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(372,18): warning CS0219: The variable `visualize' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(373,26): warning CS0219: The variable `XLoops' is assigned but its value is never used
CurveCompare/Algorithms/Rectangle.cs(374,26): warning CS0219: The variable `YLoops' is assigned but its value is never used
CsvFile.cs(284,22): warning CS0219: The variable `tubeOptions' is assigned but its value is never used
nplot/AdapterUtils.cs(722,11): warning CS0414: The private field `NPlot.AdapterUtils.DataGetter_MultiRows.abscissaName_' is assigned but its value is never used

Not sure whether this is relevant.

My mono version is:

thorade@thorade-VirtualBox:~/git/csv-compare$ mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen