Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

test are failing on windows #2

Open
rkanavath opened this issue Nov 12, 2015 · 3 comments
Open

test are failing on windows #2

rkanavath opened this issue Nov 12, 2015 · 3 comments

Comments

@rkanavath
Copy link
Contributor

see the dashboard build for SertitObject remote module. The two test are failing. There are two issues I can see on otbAggregate.cpp source.

  1. passing const char* for std::string throwing bad_alloc. This is fixed in this PR
  2. Call to SetNumberOfBins ( )
    For some reason, the number of bins seems a large value: 'Number of classes: 458470'. you can see this in test results on dashboard

Can you have a look at the second point and tell us what is wrong?

http://dash.orfeo-toolbox.org/viewTest.php?onlyfailed&buildid=206926

@ghost
Copy link

ghost commented Dec 3, 2015

Hi Rashad,

Thanks for the bug correction.

For the 2nd point, I don't understand what's wrong, because it not fails on Linux.
Maybe I should compile OTB on a Windows machine to perform some tests.

@rkanavath
Copy link
Contributor Author

yes it is passing on linux.

But what it seems strange is number of bins
Number of classes: 458470

If I hard-fix the number of classes to a smaller values for eg: 10000. in https://github.com/rkanavath/SertitObject/blob/master/app/otbAggregate.cpp#L72. The code "works"

@rkanavath
Copy link
Contributor Author

test is still failing on windows
https://dash.orfeo-toolbox.org/testDetails.php?test=60350547&build=288546

@rkanavath rkanavath reopened this Aug 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant