2 minor Mango test failures on Windows only #1732
I've finally got the Mango test suite running on Windows. Here is the current output:
These two errors occur every time, easily repeatable, it's not a heisenbug.
Smells like possibly a real Windows-specific bug to me, but not sure how to diagnose/help fix it. I don't just want to disable the test, and I'd like these all to pass cleanly before we release 2.3.0.
It could be as simple as this:
In other words,
The text was updated successfully, but these errors were encountered:
Unfortuantely, os:timestamp() on Windows only has millisecond accuracy. That means that the two Mango tests checking for a positive value of execution_time fail, since these tests appear to be running in <1ms on my test setup (a rather anemic Windows VM!) This change disables only the check for execution_time in two tests, and leaves the remainder of the execution_stats checks in place on Windows. It also introduces a convenience "make.cmd" file so you can "make check" without typing "make -f Makefile.win check" all the time.