<div dir="ltr">I figured it out. I had to `make clean && make && sudo make install` to get unit tests working as expected.<br><br>I just uploaded a new version of the code that shouldn't fail any additional unit tests, and I've added unit tests to r.compress that test reading/writing the different compression schemes.<div>~Seth</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 5:54 AM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Oct 6, 2015 at 1:42 AM, Seth Price <span dir="ltr"><<a href="mailto:seth@planet.com" target="_blank">seth@planet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Sorry for derailing my own thread, but here we go again...<div>I'm having a hard time reproducing anything with the unit tests. There seems to be some state that exists between unit test runs.</div></div></blockquote></span><div><br>What are the actual errors in the HTML report?<br> </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I ran it with my updated code, and I got 30% failed. Then I ran the new code with the tests, and I'm getting 30% failed. So I deleted the basic location directory and re-decompressed it. Now I'm getting 31% failed in both directories.</div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Using these commands, as shown above, resulted in 21% failed. I'm running `make && sudo make install` when I switch directories. Then I delete & refresh the location files. Then I run the unit tests as `<span style="color:rgb(80,0,80);font-family:Menlo;font-size:11px">python -m grass.gunittest.main --location nc_basic_spm_grass7 --location-type nc</span>`. What's wrong with my test procedure?</div></div></blockquote></span></div><br>Sorry, I don't understand what is the difference between new code and updated code. When you get 30, 31 21%? What are the actual commands you are running?<br><br></div><div class="gmail_extra">If you are concerned about reproducibility, use VM or Docker, e.g. with Ubuntu [1]. In this way, we can see if it is a local or Mac issue or not.<br><br>[1] <a href="https://github.com/wenzeslaus/grass-gis-docker" target="_blank">https://github.com/wenzeslaus/grass-gis-docker</a><br></div></div>
</blockquote></div><br></div>